> On Jun 19, 2017, at 2:51 PM, Alex Zavatone <z...@mac.com> wrote:
> 
> What is EXCELLENT is when you take the storyboard and remove all the top 
> level views.  Then, create individual XIBs for each scene.  The 
> viewController.h specifies that “if a view can not be found, an .xib with the 
> same name of the class file will be looked for and will be loaded if found.”  
> I’ve seen this text in the viewController.h since 2009, if I recall 
> correctly, so it’s not due to change any time soon.

Keep in mind that according to the documentation, this is only true of macOS 
10.10 and higher. So if you are targeting 10.9 or below, you cannot do this 
(although it’s fairly trivial to write one’s own general NSViewController 
subclass that does this, as I did for many years before the built-in 
functionality was introduced).

Charles

_______________________________________________

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