Vyacheslav Karamov wrote:

> Could I use deprecated methods in my application?
> I have to support OS X 10.4+ and for example need to obtain file 
> modification date,
> so could I use [NSFileManager fileAttributesAtPath:traverseLink:] which 
> is deprecated in 10.5?

Deprecation is your warning that at some point in the planned future this 
routine is going away. You should be looking for a replacement. If you still 
need to support an OS version for which no suitable replacement is available or 
constructible then use it, but it's best to do so conditionally - use some 
mechanism provided by your compiler and/or runtime environment to use the new 
API if available and the old only when necessary.
_______________________________________________

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]

Reply via email to