• 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
NSOpenPanel may not respond to setDirectoryURL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenPanel may not respond to setDirectoryURL?


  • Subject: NSOpenPanel may not respond to setDirectoryURL?
  • From: Howard Moon <email@hidden>
  • Date: Wed, 07 Mar 2012 11:07:44 -0800

Hi all,

	I'm really not that familiar with Objective-C and Cocoa yet, but I'm getting a warning for something that works fine, and I hate warnings.  The warning is:

		'NSOpenPanel' may not respond to '-setDirectoryURL:'

	I know that setDirectoryURL: is an NSSavePanel message, but NSOpenPanel derives from NSSavePanel, so why does it give me this warning?  As I said, it works fine (i.e., the open panel starts out in the folder I specified).  Is there a case where it WON'T work?  If not, then is there a way to prevent the warning?

Thanks,
	Howard



_______________________________________________

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: NSOpenPanel may not respond to setDirectoryURL?
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Sandbox, CoreData, Spotlight
  • Next by Date: Re: UIKit-additions and class references
  • Previous by thread: Sandbox, CoreData, Spotlight
  • Next by thread: Re: NSOpenPanel may not respond to setDirectoryURL?
  • Index(es):
    • Date
    • Thread