Where can I find iPad Sample Code [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionI know the iPhone has a site with sample apps and code for the iPhone. Are there any resources out there for the iPad?
I would like iPad specific examples like using split view, etc.开发者_开发知识库
If you're a member of the Apple Developer Connection who's paid for the $99/year iPhone developer license, the iPhone Dev Center has everything you need for iPad support, including:
- iPad Programming Guide
- iPad Human Interface Guidelines
- Sample Code
When you get to the iPhone Dev Center, click "iPhone SDK 3.2 beta."
My BSD-licensed open source application Molecules has been updated with an iPad interface to make it a universal iPhone / iPad application, and the code for that is available for you to peruse. It uses a UISplitViewController to define its primary iPad interface, with UIPopoverControllers for additional toolbar actions.
iPad sample code
iPad Programming Tutorial – Hello World++
We just released the source code to our game, Tap Blaster HD. It's fairly simple, but seen quite a few downloads on the App Store. Could be a nice project to learn a bit from.
Here's a link, hope you find it useful. http://9magnets.com/project-tapblaster.html
There is a list of Apples iPad code samples at http://iphoneos-developer.blogspot.com/2010/05/ipad-sample-code.html
I don't know if you can find real ipad sample for now... There is no sample Apps with "split view controler" or the "Popover" component" like they recommand in the Guideline for iPad
Nb. : In xCode, you can start a new project with "Split View-based Application" template, this is a minimalistic implementation of the Ipad split view.
iPad runs the iPhone OS, so iPhone sample apps are iPad sample apps.
You can go to Xcode > Help > Developer Documentation to search for sample apps.
check the source code for iPad Split view Controller Tutorial at the following link.iPad Split View Navigation Controller Sample code
Here is an improved splitview controller, MGSplitViewController from Matt Gemmell.
Few days ago I found a really nice book for iPad programming :
iPad Programming: A Quick-Start Guide for iPhone Developers
I took it as eBook, there are some really interesting advanced samples that will help you to create reach human experience application.
Moreover, you can download all sample code explain on the book.
For more information go here : http://pragprog.com/titles/sfipad/ipad-programming
Unfortunately, this eBook is not free...
The Molecules sample code is a great sample because it covers writing a single app that works on both ipad and iphone interfaces, and uses ipad split view controller.
you would google for Open sourced "iPad apps" or "universal apps". you will find some nice apps like wikihow, wordpress, molecules..etc.
All the best.
I have found lots of great iPhone & iPad code on http://www.github.com Lots of nice reusable libraries too like AFNetworking, NSLogger, and more.
精彩评论