•  

Auto Layout? Oh boy!

A session at Mdevcon 2013

Friday 15th March, 2013

9:50am to 10:40am (AMT)

After making fun of Android developers because they have to support a plethora of resolutions, the storm has gotten into the iOS community as well. First there was the retina, which brought designers and developers to account for a new resolution, exactly the double of the previous one, and was not a huge deal. With the announcement of the iPhone5 a new form factor was introduced along with a new software tool to deal with fluid user interfaces: autolayout. Developers familiar with the good old “Springs & Struts” approach have had a great deal of issues in getting acquainted with autolayout.
In this presentation I will show how to progressively move away from autosizing masks and get familiar with Autolayout constraint-based mechanism. First I’ll show how to use it in Interface Builders and how to deal with conflicting constraints. Then I’ll move on to code, to show how to achieve the intended results using the new API introduced in iOS6. Finally I’ll give some example that uses ASCII-Art format string to declare constraints.
The goal of the talk is to highlight the conceptual and technical differences between Spring & Struts and Autolayout, to make easier the potentially complex process of porting an application from the first to the second.

About the speaker

This person is speaking at this event.
Cesare Rocchi

Designer, developer, writer, speaker. Blogging at http://upbeat.it/ Working on http://appversion.io and http://podrover.com

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 9:50am10:40am AMT

Date Fri 15th March 2013

Short URL

lanyrd.com/scfdrt

Official session page

mdevcon.com/…/03/cesare-rocchi/

View the schedule

Share

Books by speaker

  • iCloud for Developers: Automatically Sync Your iOS Data, Everywhere, All the Time
  • iOS 5 By Tutorials: Volume 1
  • iOS 5 By Tutorials: Volume 2

See something wrong?

Report an issue with this session