• 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: Replacement for openUntitledDocumentOfType:display:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacement for openUntitledDocumentOfType:display:


  • Subject: Re: Replacement for openUntitledDocumentOfType:display:
  • From: "Kyle Sluder" <email@hidden>
  • Date: Thu, 24 Jul 2008 14:51:11 -0400

On Thu, Jul 24, 2008 at 2:42 PM, James Bucanek <email@hidden> wrote:
> What's the 10.4/10.5 equivalent method for creating
> a new document of a specific type?

The docs say to use -makeUntitledDocumentOfType:error: and
-addDocument.  All -openUntitledDocumentAndDisplay:error: does is fill
in the result of -defaultType in for the first argument of
-makeUntitledDocumentOfType:error:.

--Kyle Sluder
_______________________________________________

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

References: 
 >Replacement for openUntitledDocumentOfType:display: (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Folder has limited permissions.
  • Next by Date: Re: Issue sorting an NSTableView
  • Previous by thread: Replacement for openUntitledDocumentOfType:display:
  • Next by thread: NSPersistentDocument SQLite and Garbage Collection hang during save
  • Index(es):
    • Date
    • Thread