Automatically resize parent view when subviews resize

2014-04-13 Thread Lorenzo Thurman
I have an NSView with two subviews (A & B) placed horizontally with respect to each other. The subviews can take a variable number of uniformly sized subviews. I’ve placed these constraints on subviews A & B, (all done in IB): (They should both have the same height) Top space to container Bottom

Re: Navigation Design question

2014-04-13 Thread Steve Christensen
Why not just make a common UIViewController subclass that manages the global menu button, and then subclass that class for each of the controllers that live on your navigation stack? If it contains the ivar for the UINavigationItem (marked @protected) instead of having that ivar in each of the c

Cocoa application bundle with help file rejected on the store

2014-04-13 Thread Eric Giguere
Hi all Maybe someone could help me with an annoying issue. I just created my first Mac application and trying to submitted to the Mac App Store. I've create a Help Bundle compatible with the Apple Help Viewer (which is not as simple as it sounds) with some hooks from the application to jump to

Re: Navigation Design question

2014-04-13 Thread Maxthon Chan
You can add a category on UIViewController, do some detection and swizzle -[UIViewController viewWillAppear:] method. On Apr 14, 2014, at 5:55, Luther Baker wrote: > Hello all, > > I've run into an issue a few times and I'd like to see if someone has a > good design suggestion to address my pr

Navigation Design question

2014-04-13 Thread Luther Baker
Hello all, I've run into an issue a few times and I'd like to see if someone has a good design suggestion to address my problem. Consider an iPad or iPhone application based on a UINavigationController - that displays a 'menu' button in the UINavigationBar. The navbar renders UIBarButtonItems ...