• 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: Opening/Saving files via Sheets...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening/Saving files via Sheets...


  • Subject: Re: Opening/Saving files via Sheets...
  • From: John Hörnkvist <email@hidden>
  • Date: Sat, 8 Dec 2001 23:37:33 +0100

On Saturday, December 8, 2001, at 11:20 , Steven Canfield wrote:


myPanel = [NSOpenPanel beginSheetForDirectory:NSHomeDirectory()

"2001-12-08 15:57:14.298 Nimage[744] *** +[NSOpenPanel
beginSheetForDirectory:file:type:modalForWindow:modalDelegate:didEndSelector
:contextInfo:]: selector not recognized"

beginSheetForDirectory is an instance method, not a class method.
myPanel=[NSOpenPanel openPanel];
[myPanel beginSheetForDirectory:NSHomeDirectory()
file:nil
type:fileTypes
modalForWindow:myWindow
modalDelegate:self
didEndSelector:@selector(openPanelDidEnd:returnCode:contextInfo:)
contextInfo:sender];

Regards.
John Hornkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com


References: 
 >Opening/Saving files via Sheets... (From: Steven Canfield <email@hidden>)

  • Prev by Date: Opening/Saving files via Sheets...
  • Next by Date: Re: Drag and drop onto the desktop?
  • Previous by thread: Opening/Saving files via Sheets...
  • Next by thread: Re: Opening/Saving files via Sheets...
  • Index(es):
    • Date
    • Thread