• 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
Apple's PredicateEditorSample returns [self init] in -awakeFromNib ?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apple's PredicateEditorSample returns [self init] in -awakeFromNib ?!?


  • Subject: Apple's PredicateEditorSample returns [self init] in -awakeFromNib ?!?
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 15 Apr 2009 18:03:12 -0700

I just noticed that in Apple's PredicateEditorSample, the window controller's -awakeFromNib returns [self init]...


- (id)awakeFromNib { ... ... return [self init] ; }

Here's the whole source:

   http://developer.apple.com/samplecode/PredicateEditorSample/listing5.html

I see no explanation of this in -awakeFromNib documentation. Yet, this project actually seems to work. What in the world are they doing in there?

Jerry Krinock
_______________________________________________

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: Apple's PredicateEditorSample returns [self init] in -awakeFromNib ?!?
      • From: Michael Ash <email@hidden>
  • Prev by Date: -[NSView lockFocus] assertion failure
  • Next by Date: Re: localizedCompare: with Thai
  • Previous by thread: Re: -[NSView lockFocus] assertion failure
  • Next by thread: Re: Apple's PredicateEditorSample returns [self init] in -awakeFromNib ?!?
  • Index(es):
    • Date
    • Thread