• 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: outlets in objects loaded from nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: outlets in objects loaded from nibs


  • Subject: Re: outlets in objects loaded from nibs
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 23 Sep 2013 16:06:14 -0700

On 2013 Sep 23, at 15:26, Rainer Standke <email@hidden> wrote:

> Ideally I'd have one main nib that contains the controllers etc, and then two more nibs, each containing the main window in a version specific to an OS version.

Looks like a good plan.

> But how would I manage the bindings between elements in the window and the controllers?

They should be the same as they are now.

> What's the best way to deal with this?

I would suggest to duplicate your existing nib and *remove* items from each.  This will probably be less re-wiring than re-creating one or both from scratch.  Both nibs will probably keep all the controllers they have now, unless some controllers end up with no connections.

I recently endured the pain of splitting a nib which had grown too large into four smaller nibs.  It was tedious to get everything reconnected, although more so in my case since I was also splitting three view controllers off from the original, huge window controller.



_______________________________________________

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


References: 
 >outlets in objects loaded from nibs (From: Rainer Standke <email@hidden>)

  • Prev by Date: outlets in objects loaded from nibs
  • Next by Date: Re: View hierarchy, documentation, and origin location.
  • Previous by thread: outlets in objects loaded from nibs
  • Next by thread: Re: Cocoa-dev Digest, Vol 10, Issue 602
  • Index(es):
    • Date
    • Thread