• 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
NSWindowController and nib owner in document-based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindowController and nib owner in document-based app


  • Subject: NSWindowController and nib owner in document-based app
  • From: "Raphael Sebbe" <email@hidden>
  • Date: Wed, 7 Mar 2007 10:52:27 +0100

Hi,
Working on a vanilla document-based app, which only has an NSDocument
subclass, NSWindowController are the default ones.

What is the default owner of the document nib file ?

The docs states that it should generally be the NSWindowController, but the
document-based project  template has MyDocument as the owner (with no
specific code for that). Can we assume that in the default case, this is
always the document ? The reason I am asking this is because bindings to the
file owner recently broke (after an update of the sdk?), which makes me
think that there may be a change in file owner or a proxy thing that I
shouldn't be aware of anyway. But I agree that binding to the file's owner
may be a bad practice.

Thanks

Raphael
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: Re: "exponent" action in NSTextView subclass
  • Next by Date: Re: "exponent" action in NSTextView subclass
  • Previous by thread: Re: "exponent" action in NSTextView subclass (SOLVED)
  • Next by thread: AppleEvent
  • Index(es):
    • Date
    • Thread