Apple's PredicateEditorSample returns [self init] in -awakeFromNib ?!?
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