• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Where to look for the replacement for a deprecated API?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Where to look for the replacement for a deprecated API?
      • From: Jean-Daniel Dupas <email@hidden>
    • Re: Where to look for the replacement for a deprecated API?
      • From: Scott Ribe <email@hidden>
    • Re: Where to look for the replacement for a deprecated API?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Xcode debugger & NSString display
  • Next by Date: Re: Where to look for the replacement for a deprecated API?
  • Previous by thread: Fwd: Dependency cycle for target "xxx.lib" detected: xxx.lib -> xxx.lib
  • Next by thread: Re: Where to look for the replacement for a deprecated API?
  • Index(es):
    • Date
    • Thread