3

Xcode4 will tell you if a function is deprecated but does not provide any info on what to use as the latest update for that function. What is the best way to find out the updated version of any deprecated function?

4thSpace
  • 43,672
  • 97
  • 296
  • 475

2 Answers2

5

I always search the documentation with the function name and get the new version of the old methods. It works all the time.

  • I just downloaded the iOS core library documentation. However, all of my searches reference the Mac OS X 10.6 Core Library. I'm searching 'initWithFrame'. How do I get it to look in the iOS library? – 4thSpace Mar 18 '11 at 18:46
  • There must be a search in content option were the Mac OS X is ticked. just check iOS library 4.2 or what ever and then your are good to go. –  Mar 19 '11 at 04:38
2

enter image description here

There is a drop down(Doc Set) to select the libraries you want to search, in the Documentation window

markhunte
  • 6,805
  • 2
  • 25
  • 44