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

Replacement for openUntitledDocumentOfType:display:


  • Subject: Replacement for openUntitledDocumentOfType:display:
  • From: James Bucanek <email@hidden>
  • Date: Thu, 24 Jul 2008 11:42:34 -0700

This question has been asked, but never answered.

I'm cleaning up a project and removing methods deprecated in 10.4. The method

    - (id)openUntitledDcumentOfType:(NSString*)docType display:(BOOL)display

was deprecated in 10.4. It says to use openUntitledDocumentAndDisplay:error: instead. But that method doesn't take a docType parameter.

This application has several flavors of File > New that each create a different document type. What's the 10.4/10.5 equivalent method for creating a new document of a specific type?

--
James Bucanek

_______________________________________________

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: Replacement for openUntitledDocumentOfType:display:
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Core Data Backup on App Start
  • Next by Date: Re: XML serialization and deserialization
  • Previous by thread: Re: Core Data Backup on App Start
  • Next by thread: Re: Replacement for openUntitledDocumentOfType:display:
  • Index(es):
    • Date
    • Thread