• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Converting a Storyboard into separate NIBs.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting a Storyboard into separate NIBs.


  • Subject: Re: Converting a Storyboard into separate NIBs.
  • From: Charles Srstka <email@hidden>
  • Date: Mon, 19 Jun 2017 15:25:03 -0500

> On Jun 19, 2017, at 2:51 PM, Alex Zavatone <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Converting a Storyboard into separate NIBs.
      • From: Alex Zavatone <email@hidden>
References: 
 >Converting a Storyboard into separate NIBs. (From: Dave <email@hidden>)
 >Re: Converting a Storyboard into separate NIBs. (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Converting a Storyboard into separate NIBs.
  • Next by Date: Re: Help with Storyboard Problem
  • Previous by thread: Re: Converting a Storyboard into separate NIBs.
  • Next by thread: Re: Converting a Storyboard into separate NIBs.
  • Index(es):
    • Date
    • Thread