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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to