• 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: There must be a better way
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: There must be a better way


  • Subject: Re: There must be a better way
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Fri, 25 Dec 2009 09:22:42 -0500

Of course they can. In the view's xib, the "File's Owner" object represents the object that is doing the loading of the xib. In this case, that is your view controller.

Sent from my iPhone

On Dec 23, 2009, at 16:18, Charlie Dickman <email@hidden> wrote:

Except the view and the controller are in separate xib's so they can't be connected in this way.

On Dec 23, 2009, at 4:08 PM, Seth Willits wrote:

On Dec 23, 2009, at 11:19 AM, Charlie Dickman wrote:

In an iPod Touch/iPhone app where the view is in 1 xib and it's controller is in a different one, according to the view-controller- data paradigm, is there a better way to link the view to the controller than...

Surely the controller is File's Owner in the view's xib, so just use an outlet on the view and connect it to the controller.



-- Seth Willits



_______________________________________________

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

Charlie Dickman email@hidden



_______________________________________________

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
_______________________________________________

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: 
 >There must be a better way (From: Charlie Dickman <email@hidden>)
 >Re: There must be a better way (From: Seth Willits <email@hidden>)
 >Re: There must be a better way (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Re: There must be a better way
  • Next by Date: Re: IPhone- Datasensitive bug from CoreData...
  • Previous by thread: Re: There must be a better way
  • Next by thread: How to uncheck checkbox in an NSTableView
  • Index(es):
    • Date
    • Thread