• 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: connections and the nib lifecycle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: connections and the nib lifecycle
      • From: Vijay Malhan <email@hidden>
References: 
 >connections and the nib lifecycle (From: Torsten Curdt <email@hidden>)
 >Re: connections and the nib lifecycle (From: Vijay Malhan <email@hidden>)

  • Prev by Date: Re: Trying to understand -- please help...
  • Next by Date: Re: connections and the nib lifecycle
  • Previous by thread: Re: connections and the nib lifecycle
  • Next by thread: Re: connections and the nib lifecycle
  • Index(es):
    • Date
    • Thread