• 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 obsolete method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenPanel obsolete method?


  • Subject: NSOpenPanel obsolete method?
  • From: John Timmer <email@hidden>
  • Date: Sun, 01 Jul 2001 10:32:15 -0400

Greetings -

I'm getting the following warning in my compiles:

*** WARNING: Method runModalForDirectory:file:types:relativeToWindow: in
class NSOpenPanel is obsolete and will be removed in release GM ***

A few questions on this:

Is this method really going to be removed?

Can I safely assume that schedule has changed, as the GM has come and gone?

If it is going to be removed, is its functionality going to be replicated
(clearly, I think it should be)?

Aside from waiting for my compiles or the resulting program to start
failing, is there any way to track when this method will actually change?


While I'm on this topic, I also noticed that _NSObsoleteMenuItemProtocol is
noted as being subsumed into NSMenuItem. Following the docs there, however,
leads me to NSMenu.MenuValidation, the method of which receives a reference
to a (you guessed it) _NSObsoleteMenuItemProtocol.

How am I to make sense of that? I want to be a good boy and avoid coding
something that's going to break, but nothing in the docs seems to give me a
hint as to how to avoid doing that.

Jay


  • Follow-Ups:
    • Re: NSOpenPanel obsolete method?
      • From: Carlos Weber <email@hidden>
  • Prev by Date: Re: AppKit source available as reference?
  • Next by Date: Working with serial ports
  • Previous by thread: Re: NSString, scramble
  • Next by thread: Re: NSOpenPanel obsolete method?
  • Index(es):
    • Date
    • Thread