• 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: Question Re Memory Management in Apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question Re Memory Management in Apps


  • Subject: Re: Question Re Memory Management in Apps
  • From: Bill Bumgarner <email@hidden>
  • Date: Tue, 09 Mar 2010 13:25:01 -0800

On Mar 8, 2010, at 7:44 PM, Philippe Sismondi wrote:

> 	if(![super init])
> 		return nil;

Since no one else mentioned it in the followups, the above is wrong.  This is correct:

self=[super init];
if (!self)
    return nil;

... etc ...

b.bum

_______________________________________________

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

References: 
 >Question Re Memory Management in Apps (From: Philippe Sismondi <email@hidden>)

  • Prev by Date: Re: How to get NSPathControl to resize programatically?
  • Next by Date: [[Class alloc] init] preferable over [[Class instance] retain]?
  • Previous by thread: Re: Question Re Memory Management in Apps
  • Next by thread: How to set value to UITextField using App Delegate in a Tabbar application
  • Index(es):
    • Date
    • Thread