• 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
Newbie - Dumb NSDocument Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie - Dumb NSDocument Question


  • Subject: Newbie - Dumb NSDocument Question
  • From: Tom Gray <email@hidden>
  • Date: Thu, 18 Sep 2003 10:52:27 -0400

My questions are becoming more and more basic and perhaps I should resign from this discussion in disgrace. I apologize.

In my previous posts I detailed how my application insists on saving my files with the incorrect CFBundleTypeName (aka docType) no matter what I do. I then decided to skip that issue and re-wrote code to at least try and open ANY docType.

Now, get this, when I double click on a previously saved file my NSDocument subclass is instantiated but it doesn't instantiate it's windowController and the nib is not loaded!

If I create a new document from the menu command the document subclass creates a windowController and the nib opens.

What is not wired correctly?


Tom Gray
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Making bezier paths out of text
  • Next by Date: Reasonable timeout on NSLock?
  • Previous by thread: Re: Newbie - dataRepresentationOfType questions
  • Next by thread: Re: Newbie - Dumb NSDocument Question
  • Index(es):
    • Date
    • Thread