• 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
IB connections with view swapping?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB connections with view swapping?


  • Subject: IB connections with view swapping?
  • From: Oftenwrong Soong <email@hidden>
  • Date: Thu, 20 Aug 2009 10:39:24 -0700 (PDT)

Hi all,

My document-based app will use view swapping, allowing the user to navigate through multiple "screens" like a wizard of sorts. I am putting each view in a separate nib and using NSViewController. View swapping is working. Now I need to make connections between these views and my model.

The nib file's owner is the view controller, not MyDocument. Is it best to bind to my model via the view controller's representedObject?

Also I'll need a few Target/Actions. Should I subclass NSViewController, put the actions in the subclass, and then forward them to MyDocument? Or is there a nicer way?

Thanks,
Soong




_______________________________________________

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: IB connections with view swapping?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: NSSortDescriptor in core-data document app
  • Next by Date: Re: devil of a time with an NSImageView
  • Previous by thread: Re: NSSortDescriptor in core-data document app
  • Next by thread: Re: IB connections with view swapping?
  • Index(es):
    • Date
    • Thread