Where to look for the replacement for a deprecated API?
Where to look for the replacement for a deprecated API?
- Subject: Where to look for the replacement for a deprecated API?
- From: Beinan Li <email@hidden>
- Date: Mon, 09 Dec 2013 16:48:34 -0500
On Mac OS X Mountain Lion, I start getting "deprecated API" warnings:
warning: 'Debugger' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
1 warning generated.
Then the warning leads me to a dead-end clue that the symbol is defined in
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/MacTypes.h
and marked by
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
It never tells me where to look for its replacement.
I also searched the Xcode documentation for "Debugger" and found nothing about it.
So I'm asking about a general strategy for the deprecation and replacement issue.
I'd like to avoid asking the same question for every single deprecated API.
Thanks a lot!
Beinan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden