Re: [NSWindow document]?
Re: [NSWindow document]?
- Subject: Re: [NSWindow document]?
- From: Andy Lee <email@hidden>
- Date: Tue, 01 Dec 2009 19:07:44 -0500
On Tuesday, December 01, 2009, at 06:36PM, "Kyle Sluder" <email@hidden> wrote:
>On Tue, Dec 1, 2009 at 3:27 PM, Andy Lee <email@hidden> 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 (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