On Tuesday, December 01, 2009, at 06:36PM, "Kyle Sluder" 
<kyle.slu...@gmail.com> wrote:
>On Tue, Dec 1, 2009 at 3:27 PM, Andy Lee <ag...@mac.com> 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.

--Andy

_______________________________________________

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