Re: The Magic Delegate
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