• 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: meaning of if (self = [super init])
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: meaning of if (self = [super init])


  • Subject: Re: meaning of if (self = [super init])
  • From: Florent Pillet <email@hidden>
  • Date: Wed, 25 Jun 2003 16:51:37 +0200

Functionally equivalent to if ((self = [super init]) != nil)

gcc accepts it, though CodeWarrior would emit a warning (guess you can shut this ones down in CW, though I don't use CW for Cocoa development).

Florent

On mercredi, juin 25, 2003, at 16:10 Europe/Paris, Cyprien wrote:

What's the meaning of this code line ?

if (self = [super init])

--
Florent Pillet, Code Segment email@hidden
Developer tools and end-user products for Palm OS & Mac OS X
ICQ: 117292463 http://perso.wanadoo.fr/fpillet
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >meaning of if (self = [super init]) (From: Cyprien <email@hidden>)

  • Prev by Date: Re: meaning of if (self = [super init])
  • Next by Date: Re: meaning of if (self = [super init])
  • Previous by thread: Re: meaning of if (self = [super init])
  • Next by thread: Re: meaning of if (self = [super init])
  • Index(es):
    • Date
    • Thread