• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [NSWindow document]?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: [NSWindow document]?
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: [NSWindow document]?
  • Next by Date: Key path help for complex binding
  • Previous by thread: Re: [NSWindow document]?
  • Next by thread: Re: [NSWindow document]?
  • Index(es):
    • Date
    • Thread