I love the power of auto-layout, but I'll be damned if I can make it behave 
when working on the GUI .xib file. I've taken to using auto-layout without 
.xib, building the UI elements in the viewController.m and attaching 
NSLayoutContraints manually. It's a bit of a pain, but if the layout is 
complicated I think it's time saved.

On Sep 19, 2013, at 6:18 PM, Brad O'Hearne <[email protected]> wrote:

> On Sep 19, 2013, at 2:45 PM, Rick Mann <[email protected]> wrote:
> 
>> I am never able to get this shit right 100% of the time, and I don't know if 
>> it's because I'm doing something wrong, or iOS is broken and I need to do 
>> something else.
> 
> As a second to Rick's request, auto-layout has given me fits on both iOS and 
> OS X. I have not found the Auto-Layout Guide doc or various blog / other 
> posts or WWDC sessions (unless I missed one that had this in it) on it to be 
> a silver bullet. I find the pre-autolayout springs/struts approach to be easy 
> to understand, but more importantly, it behaves consistently and the IB UI 
> doesn't seem to get confused. With auto-layout, I've had no such success -- 
> the IB UI seems to have a will of its own, and the UI seems to continually 
> generate or change various things inexplicably in response to what are by all 
> other indications proper constraints you create. 
> 
> If anyone out there has THE definitive guide on how to use auto-layout and 
> accomplish various common use cases of relative resizing, you have money 
> waiting in my wallet.  
> 
> Thanks,
> 
> Brad
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/caoimghgin%40gmail.com
> 
> This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to