NSOpenPanel obsolete method?
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