On 2 Dec 2009, at 00:07, Andy Lee wrote: > On Tuesday, December 01, 2009, at 06:36PM, "Kyle Sluder" > <[email protected]> wrote: >> On Tue, Dec 1, 2009 at 3:27 PM, Andy Lee <[email protected]> wrote: >>> Is there documentation that confirms window.document as a property I'm >>> allowed to use? Should I file a documentation bug, and/or should I file a >>> request that window.document be made officially public? >> >> You should probably stick to going through the window controller >> instead. That sounds like the safest bet to me. > > Makes sense. For some reason I thought window.document was buying us > something, but it turns out window.windowController.document works fine, > which makes sense since I would naively expect -[NSWindow document] to simply > return [[self windowController] document] anyway.
Even if that is how it's implemented, bear in mind that it would probably not be key-value compliant._______________________________________________ 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]
