> On May 5, 2015, at 4:26 PM, Graham Cox <graham....@bigpond.com> wrote:
> 
> I don’t know, but I also find setting up simple constraints baffling. Even 
> the most straightforward cases seem to be really hard to get right.

Glad to know I'm not the only one. It wouldn't be so bad if there were some 
real documentation I could read — I would love a fat O'Reilly book on serious 
AppKit and UIKit GUI implementation — but the Xcode docs only skim the surface 
and are nearly impossible to find anything in.

I was able to get around the resize problem by overriding 
-resizeWithOldSuperviewSize: to do nothing, so it skips the inherited 
implementation that destroys the layout. I'm sure this is a terrible kludge, 
and I'd love to know the real solution, but it works well enough for the demo I 
need to give on Friday.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to