"Proper" way to deal with "new" and "deprecated" methods when targeting more then one version
"Proper" way to deal with "new" and "deprecated" methods when targeting more then one version
- Subject: "Proper" way to deal with "new" and "deprecated" methods when targeting more then one version
- From: Andrei Tchijov <email@hidden>
- Date: Fri, 18 Nov 2005 17:13:12 -0500
Hi,
Can someone describe "proper" way to deal with "new" and
"deprecated" methods? For example, with 10.4 Apple introduced the
whole bunch of "... encoding: ..." methods (like
stringWithContentsOfFile:encoding:error:) in NSString class. At the
same time it marked corresponding methods ( like
stringWithContentsOfFile:) as "deprecated". If you are writing
application which supposed to work on Panther and Tiger, which way to
go? Should you keep using "old" versions? Should you test for
version of OS and use old version on Panther and new one on Tiger?
You thoughts, comments will be highly appreciated
Andrei Tchijov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden