• 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: NSDocument subclass (newbie) question Š
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument subclass (newbie) question Š


  • Subject: Re: NSDocument subclass (newbie) question Š
  • From: mark <email@hidden>
  • Date: Sun, 23 Jan 2005 18:40:17 -0800

Thank you--XCode was the key.  I looked in the NIB files, and in the
info.plist that was included in the project, but didn't realize there was a
further place to look (the project information)Š

Thanks!

Mark

> From: "Louis C. Sacha" <email@hidden>
> Date: Sun, 23 Jan 2005 18:27:28 -0800
> To: email@hidden
> Cc: email@hidden
> Subject: Re: NSDocument subclass (newbie) questionŠ
>
> Hello...
>
> You don't need to make any connections in InterfaceBuilder to do
> this, the relevant info is actually stored in your applications
> Info.plist file.
>
> In Xcode, select your application in the "Targets" group, and open
> the inspector. One of the tabs is "Properties", and you can define
> which NSDocument subclass is used for any filetypes that your
> application will be able to open.
>
> All you have to do is add/edit the entries in the "Document Types" section.
>
> Hope that helps,
>
> Louis
>
>
>> Where do you tell Cocoa what your document subclass is?  I looked
>> through the documentation, and saw references to the "file's owner".
>> However, in the Sketch app, this points to a window controller
>> class, not the NSDocument subclass.  There's other references to the
>> info.plist file, but in the Sketch example, that didn't have any
>> reference to the NSDocument subclass name.
>>
>> Thanks for any help!
>>
>> Mark
>>
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSDocument subclass (newbie) question Š
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: NSDocument subclass (newbie) question Š
      • From: Charlton Wilbur <email@hidden>
References: 
 >Re: NSDocument subclass (newbie) questionŠ (From: "Louis C. Sacha" <email@hidden>)

  • Prev by Date: Re: NSDocument subclass (newbie) questionŠ
  • Next by Date: Re: Manual binding questions.
  • Previous by thread: Re: NSDocument subclass (newbie) questionŠ
  • Next by thread: Re: NSDocument subclass (newbie) question Š
  • Index(es):
    • Date
    • Thread