• 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: The Magic Delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Magic Delegate


  • Subject: Re: The Magic Delegate
  • From: Paul Sargent <email@hidden>
  • Date: Fri, 16 Nov 2007 14:52:56 +0000


On 16 Nov 2007, at 14:43, Chris Campbell wrote:

On Nov 16, 2007, at 9:01 AM, Paul Sargent wrote:

There are no calls to setDelegate: in the project, and IB shows no connection to the delegate outlet of the application instance.

Are you sure you're looking at the right nib file (MainMenu.nib)?

I created a new "Core Data Aapplication" project and opened MainMenu.nib, and I see that the delegate outlet of File's Owner (indeed, NSApplication) is connected to the instance of MyCoreDataApp_AppDelegate in the nib file:

Thank you, I'm not crazy.

I was looking at the Application instance, rather than the File's Owner. Hence I didn't see it, but it make perfect sense to me know. Both point to the same thing in this case.

Move along folks, there's no magic here. :)

It's always a disappointment when you workout how the trick is done. _______________________________________________

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: 
 >The Magic Delegate (From: Paul Sargent <email@hidden>)

  • Prev by Date: Re: Interface Builder 3.0
  • Next by Date: Re: iconForFile
  • Previous by thread: Re: The Magic Delegate
  • Next by thread: Re: Problems with iTunes Plus files and ExtAudioFile API
  • Index(es):
    • Date
    • Thread