• 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: Trouble with openFileWithoutUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with openFileWithoutUI


  • Subject: Re: Trouble with openFileWithoutUI
  • From: "Kyle Sluder" <email@hidden>
  • Date: Mon, 17 Nov 2008 18:27:59 -0500

On Mon, Nov 17, 2008 at 2:52 PM,  <email@hidden> wrote:
> It seemed like the think to use.

Read that first sentence again.  "Sent directly by the sender to the
delegate..."  The delegate is the receiver, not the NSApplication
instance.

> Ok, How do I open a file pragramatically?

Read up on the Cocoa document architecture again and look at
-[NSDocumentController openDocumentWithContentsOfURL:display: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: 
 >Re: Trouble with openFileWithoutUI (From: email@hidden)

  • Prev by Date: Re: Question about interface builder
  • Next by Date: Re: NSDateFormatter strangeness
  • Previous by thread: Re: Trouble with openFileWithoutUI
  • Next by thread: CoreImage filters question
  • Index(es):
    • Date
    • Thread