> There’s no requirement that there be such an ivar, only a method named
> -window that returns an NSWindow*. The implementation of that method is
> arbitrary. For example it might just look like
> - (NSWindow*) window { return [_parent window];}

But then again the compiler would know about these implementations.

> Separating interface from implementation is a good thing and a keystone of
> OOP.

No one is questioning that :)

Anyway, not sure this discussion is really useful for the list anymore.
Happy to discuss further off list if someone is interested.

cheers,
Torsten
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to