Showing posts with label iphone development FAQs. Show all posts
Showing posts with label iphone development FAQs. Show all posts

Iphone development tips

A note book for every developer and businessman who want to work with iPhone. Complete guide for any developer or businessman who want to step-in to iPhone development. For developer I include initially steps required to build iPhone application. For businessman, steps required to publish applications to apple store. This book will have all the list of items you want to know before you start working with iPhone and a complete guide to know how to submit your application to apple store.

Step 1: Things you know before

Things Businessman should know before
  • Create Developer account
    • You should have a developer account (license) to test application on device or to submit your application to apple store.
    • You need to have Bank Information and it will cost you 99$ or 299$ http://developer.apple.com/iphone.
    • It takes around 3-12 working days, so you should apply for this before you start creating your application.
    • You will then have a keychain access
  • Create concept for your application
  • Make its design from designer or you can make a rough design from here
  • Hire a developer to code for you
  • Read the developer and design part as well to understand what you will have to deal with
Things Developer should know before start creating application for iPhone
  • You should have a mac book or mac mini
  • Your machine should have intel processor and 10.5.7 lepord installed
  • iPhone SDK is free for every one. You just need to open an account free from http://developer.apple.com/iphone. After creating account, download the sdk
Things Designer should know before start designing application for iPhone
  • Designing for iPhone is easy but at the same time complex
  • For application you must have to create icon which is 57×57 and at the same time it should be 512×512 ( these two design should be same or your application will be rejected)
  • Splash screen must be 320×460 or 320×480
  • You can get the template for iPhone design from here or here or here

Step 2: Getting Started with iPhone Development

Follow this tutorial: Getting Started with iPhone Development OR watch the Video Tutorial to Getting started with iPhone Development

Step 3: Hello World iPhone Tutorial for beginner

Follow this tutorial: Hello World iPhone tutorial for beginners OR watch the Video Tutorial of Simple Hello World iPhone Application

Step 4: Testing your application on iPhone or iPod touch

Testing your application on device

Step 5: Required Documents/Files needed before submitting application

Things you know after creating applications for iPhone

Step 6: Submit your application to apple store

Iphone native and web applications

One of the big questions that new iPhone developers face is whether to build web applications or to build native applications for the iPhone.
The very simple and obvious reason for building a native application is if you need to access the hardware features like camera, accelerometer etc. or if you need to build a rich graphical applications like games etc.
Incase your application does not fall in the below mentioned bracket then you there are a couple of factors that you need to consider:

Firstly, and most importantly the biggest advantage of building native web applicaitons is that you can list them on the App Store. The app store gives you an instant method of distributing your application directly to all iPhone owners throughout the world. Add to it the fact that you can charge users for native applications from the App stores gives you a very easy way to get revenue for your application.
Even though web applications can also be listed on a web applications directory on the apple web site, but this has not been a big enough source for distribution for any web app developers till now.
Secondly, and on the down side, a native application is much much harder to build then a web application. If customizing your web application to the iPhone takes about a week, then building the same on the iPhone natively could take any where from a month to three months.

Overall, a web application only makes sense currently if you want to extend your existing web application to the iPhone - assuming that you already have users on your web application which can take advantage of your presence on the iPhone. If you are building a standalone app for the iPhone you are much better of building a native app which can take advantage of the distribution capability of the iPhone App store.

iphone development FAQs

Here are some common questions developers ask about iPhone development:
  • Can GCC 4.2 be used with the iPhone Simulator SDK?
    No.
  • Does the iPhone Simulator application run on network home directories?
    No.
  • Do Objective-C properties need to be backed up by instance variables or accessor methods for them to work?
    Yes.
  • Why do curl transitions appear as fade transitions in iPhone Simulator?
    Because Mac OS X doesn’t support curl transitions.
  • Do static libraries need to be code-signed before being used in an iPhone application?
    No.
  • Why is my application having problems processing PNG files?
    The code that is trying to use your PNG files may not understand compressed PNG files.
    Turn off the Compress PNG Files build setting. 
  • Can I develop iPhone applications on Windows?
    No. iPhone applications can be developed only on Mac OS X.
  • How do I link all the Objective-C classes in a static library?
    Set the Other Linker Flags build setting to -ObjC. If that doesn’t bring in all the classes, set it to -all_load.
  • When should I replace deprecated API?
    Update as soon as you can, considering the iPhone OS versions you want your application to run on.