Re: Replacement for openUntitledDocumentOfType:display:
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