Re: connections and the nib lifecycle
Re: connections and the nib lifecycle
- Subject: Re: connections and the nib lifecycle
- From: Torsten Curdt <email@hidden>
- Date: Wed, 21 May 2008 19:44:33 +0200
...actually with this new lazy loading feature code like this
- (IBAction) showPreferences:(id)sender
{
if (!preferencesController) {
preferencesController = [[PreferencesController alloc] init];
}
[preferencesController showWindow:self];
}
could probably just go away and become
- (IBAction) showPreferences:(id)sender
{
[preferencesController showWindow:self];
}
with the alloc in the parent's init method.
...or am I mistaken? Or is that a bug?
cheers
--
Torsten
_______________________________________________
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