• 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: Etienne GuĂ©rard <email@hidden>
  • Date: Mon, 17 Nov 2008 11:59:14 -0500
  • Thread-topic: Trouble with openFileWithoutUI

Try the following instead:

3: I call from another controller with the following:
NSApplication* app = [NSApplication sharedApplication];
[self application:app /* or NSApp */ openFileWithoutUI: totalFile];

EG
-----Original Message-----
3: I call from another controller with the following:
NSApplication* app = [NSApplication sharedApplication];
[app application:self openFileWithoutUI: totalFile];

When this last statement is executed it does not call the AppController:: "application:(id)sender openFileWithoutUI:(NSString *)filename"  method.
in Console we get the error:
"-[NSApplication application:openFileWithoutUI:]: unrecognized selector sent to ..."

Probably be something wrong with my delegate set up. Any suggestions?

------------------------------------------------------------
This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither DxO Labs nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. DxO Labs et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, modifie ou falsifie.

_______________________________________________

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: 
 >Trouble with openFileWithoutUI (From: email@hidden)

  • Prev by Date: Re: NSOutlineView setDoubleAction: working on 10.5, but not on 10.4.11
  • Next by Date: Re: NSButtonCell slowdown in NSTableView
  • Previous by thread: Trouble with openFileWithoutUI
  • Next by thread: Re: Trouble with openFileWithoutUI
  • Index(es):
    • Date
    • Thread