Sunday, March 31, 2013

10 Things You Need to Know About Cocoa Autolayout

Ole Begemann:

Unfortunately, using autolayout with Interface Builder forces you to be careful. For instance, if you find that you need to replace one control with another, deleting the original from your layout can lead IB to automatically create a bunch of new constraints that you then need to modify manually (again) once you have inserted the replacement control. It is probably not a good idea to constantly try to optimize your constraints while your layout is still in a state of flux. Better do it at a later stage when it is more stable.

Wil Shipley:

Constraints: The coolest technology in 10.7 masked by the WORST interface editor ever inflicted on humans.

Comments RSS · Twitter

Leave a Comment