views:

4931

answers:

6

Is there a web site or project documenting private APIs for the iPhone SDK?

+10  A: 

Most likely. Just use the command line application class-dump to view the private headers. Note that your app will be rejected from the App Store for linking to private frameworks if you link at compile. It is easy enough to see that you are linking the private frameworks by running otool on your binary if linked at compile.

Dylan Copeland
+1  A: 

I don't know of a list of only private ones. But you can get the complete apis from Erica Sadun's site.

When using private api's keep this one in mind.

Gordon Wilson
+1  A: 

http://ericasadun.com/iPhoneDocs312/files.html This is provided by the ericasadun

Berwin
Seems like that information is no longer available.
tcurdt
+1  A: 

There is a Stack Exchange proposal but it's lacking support:

[...]for iOS developers who require help and advice when using undocumented iOS APIs. Developers who discover private iOS APIs and need a place to document them.

http://area51.stackexchange.com/proposals/18154/ios-private-apis

rjstelling
+1  A: 

Not documentation but the headers itself: http://github.com/kennytm/iphone-private-frameworks

Jano
+2  A: 

Try App Scanner. It doesn't contain documentation, but does let you look up method signatures, and also scan your .app file to make sure it doesn't contain private APIs before you submit to the iOS review team.

link --> http://www.chimpstudios.com/appscanner/

Andrew