Re: NSOpenPanel not honoring some settings
Re: NSOpenPanel not honoring some settings
- Subject: Re: NSOpenPanel not honoring some settings
- From: Sean McBride <email@hidden>
- Date: Wed, 01 Jun 2011 09:07:49 -0400
- Organization: Rogue Research Inc.
On Tue, 31 May 2011 21:50:17 -0700, Tito Ciuro said:
>I wish Xcode 4 had warned me that 'be
>ginSheetForDirectory:file:types:modal
>ForWindow:modalDelegate:didEndSelector:contextInfo:' has been deprecated
>in 10.6. That would have saved some trouble!
It's not exactly deprecated. In the .h it says:
/* This method is deprecated in 10.6, and will be formally deprecated in
a future release. Use beginSheetModalForWindow:completionHandler:
And it's not tagged with __deprecated, so you get no warning.
I find it really annoying that they document methods are deprecated in
docs/comments, but don't actually tag them so the compiler can warn. I
guess they're trying to reduce noise. If so, might be nice to have 2
levels of deprecation warnings: really old, and soon-to-be-old. :)
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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