• Like
Infinum iOS Talk S01E02 - Auto Layout by Ivan Damjanović
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Infinum iOS Talk S01E02 - Auto Layout by Ivan Damjanović

  • 194 views
Published

Auto Layout is great way to lay your app’s user interface by creating a relationships between the UI elements. Ivan shares his experience and tips&tricks with Auto Layout.

Auto Layout is great way to lay your app’s user interface by creating a relationships between the UI elements. Ivan shares his experience and tips&tricks with Auto Layout.

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
194
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Autolayout Ivan Damjanović
  • 2. Zašto autolayout? • Autosizing mask! • Ručno postavljanje frame-ova
  • 3. Osnovni pojmovi • Atributi - left, right, top, bottom, leading, trailing, width, height, centerX, centerY i baseline! • Relacije - =, <= i >=! • y = m*x + b! • Intrinsic content size
  • 4. Autolayout + IB + =
  • 5. Autolayout + IB
  • 6. Autolayout + IB
  • 7. Autolayout + kod • UIView add/remove constraint/s! • NSLayoutConstraint! • +constraintWithItem:attribute:relatedBy:toItem:attri bute:multiplier:constant:! • +constraintsWithVisualFormat:options:metrics:vie ws:! • NSDictionaryOfVariableBindings(...)
  • 8. Autolayout + kod • Demo
  • 9. Problemi • xCode se zna zablesirati
  • 10. Što dalje? • Matthijs Hollemans! • http://www.raywenderlich.com/20881/beginning-autolayout-part-1-of-2! • http://www.raywenderlich.com/20897/beginning-autolayout-part-2-of-2! • Apple documentation! • https://developer.apple.com/library/ios/documentation/ userexperience/conceptual/AutolayoutPG/Introduction/ Introduction.html