Re: NULL Outlets in one file work in another
Re: NULL Outlets in one file work in another
- Subject: Re: NULL Outlets in one file work in another
- From: Volker in Lists <email@hidden>
- Date: Tue, 26 May 2009 16:45:22 +0200
Hi,
are you using - (void)applicationDidFinishLaunch:(NSNotification
*)aNotification or - (void)applicationDidFinishLaunching:
(NSNotification *)aNotification ? The first is not a valid delegate
method, the second is. Have you connected your AppDelegate as delegate
of your app - can it receive the notification at all?
And can you clarify on the difference of an App_Delegate file vs.
App_Delegate.m ?
Cheers,
Volker
Am 26.05.2009 um 16:17 schrieb Walker Argendeli:
I have a App_Delegate file. In applicationDidFinishLaunch:, I
instantiate a FirstLaunch object and call its start method. The
weird thing is that this method, which access several IBOutlets,
seems to be working with null outlets. All the connections are
right in IB, and yet the outlets are null. I put the method inside
App_Delegate.m and set the same connections, and the outlets work
fine. I've been staring at the files for an hour, trying to figure
out where I went wrong. The connections are the same, the headers
have the same ivars, and yet in one file, the outlets work fin, and
in another they're null.
Thanks,
- Walker Argendeli
_______________________________________________
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