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 protected] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
