Re: Loading a .nib?
Re: Loading a .nib?
- Subject: Re: Loading a .nib?
- From: Michael Vannorsdel <email@hidden>
- Date: Fri, 2 May 2008 17:36:56 -0600
I should have mentioned, if you're calling from C there probably is no
'self' since you're not calling from inside an object's method.
You'll have to pass a pointer to the object you want to be the owner.
On May 2, 2008, at 5:33 PM, J. Todd Slack wrote:
One question though.
When I use:
[NSBundle loadNibNamed:@"SettingsDialog" owner:self]; // the nib
name is SettingsDialog.nib
Xcode complains that this is the first time that self is used.
I am a bit rusty right now, can anyone explain why? I thought self
could be used like this.
What am I missing?
_______________________________________________
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