Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-10-2010, 01:42 PM   #1 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 18
foo357 is on a distinguished road
Default is Google Docs a private API?

Apple forbids private API's in iPhone apps. There is available the Google Data APIs Objective-C Client Library found at gdata-objectivec-client - Project Hosting on Google Code

Why is this API not considered a private API?
foo357 is offline   Reply With Quote
Old 06-11-2010, 12:38 AM   #2 (permalink)
Registered Member
 
Join Date: Jan 2009
Location: Long Beach, CA
Posts: 612
bytor99999 is on a distinguished road
Send a message via AIM to bytor99999 Send a message via Yahoo to bytor99999
Default

Quote:
Originally Posted by foo357 View Post
Apple forbids private API's in iPhone apps. There is available the Google Data APIs Objective-C Client Library found at gdata-objectivec-client - Project Hosting on Google Code

Why is this API not considered a private API?
No this isn't a private API. What they mean by private API is those classes that are deeper in the classes, that Apple does not guarantee to always be there, or be the same. Since they are private Apple can feel ok if they change its api, because if you just use the public apis, those are the ones that Apple will not change.

Basically when you make your own apis, there are methods that you want clients to be able to call, but there are other methods that you create that are within your library that you yourself call and don't expose to the outside world.

So the Google APIs are actually considered public apis. They are just objective c classes that simplify calling the Google Web Services. It basically handles the URL calls and retrieving the feed and converting them into object-c classes automatically for you.

Hope that helps to clear things up.

Mark
__________________
Perfect World Programming LLC
http://www.perfectworldprogramming.com

Please check out my apps.

TubeOrganizer
http://www.spritzlerapps.com/tube-organizer.html

Paper Clips
http://spritzlerapps.weebly.com/paper-clips.html
bytor99999 is offline   Reply With Quote
Old 06-11-2010, 12:14 PM   #3 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 18
foo357 is on a distinguished road
Default

Quote:
Originally Posted by bytor99999 View Post
No this isn't a private API. What they mean by private API is those classes that are deeper in the classes, that Apple does not guarantee to always be there, or be the same. Since they are private Apple can feel ok if they change its api, because if you just use the public apis, those are the ones that Apple will not change.

Basically when you make your own apis, there are methods that you want clients to be able to call, but there are other methods that you create that are within your library that you yourself call and don't expose to the outside world.

So the Google APIs are actually considered public apis. They are just objective c classes that simplify calling the Google Web Services. It basically handles the URL calls and retrieving the feed and converting them into object-c classes automatically for you.

Hope that helps to clear things up.

Mark

Mark,

Good reply. Thanks for taking the time to write-up a comprehensive answer.
foo357 is offline   Reply With Quote
Old 06-11-2010, 12:39 PM   #4 (permalink)
Registered Member
 
Join Date: Jan 2009
Location: Atlanta
Posts: 411
funkytaco is on a distinguished road
Default

If it's not in the public Apple Documentation, then it's not allowed.
funkytaco is offline   Reply With Quote
Reply

Bookmarks

Tags
api, google, private

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 335
11 members and 324 guests
Absentia, Domele, fiftysixty, givensur, heshiming, iGamesDev, linkmx, michaelhansen, PixelInteractive, raihan.zbr, Sloshmonster
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,892
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:12 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0