<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6451714398979935200</id><updated>2011-07-31T00:54:52.022-07:00</updated><title type='text'>iPhone Programming Tutorials</title><subtitle type='html'>This blog is intended for novice and experienced developers writing applications for the iPhone. This is a good guide for programmers to start creating your own iPhone applications. My goal is to provide an initial learning curve to help you to understand the way iPhone application works and how they are built.This blog also provide solutions for more complex subjects for experienced programmers and help them to solve programming problems.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://iphoneprogrammingtutorials.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>iPhone Developer</name><uri>http://www.blogger.com/profile/14007810418976452174</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='22' src='http://2.bp.blogspot.com/_1iaItZRqZco/Smst8F1cR7I/AAAAAAAAABo/AubnD0s37aA/S220/iphone.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6451714398979935200.post-9049755430794424705</id><published>2009-07-26T06:52:00.000-07:00</published><updated>2009-07-26T06:56:12.758-07:00</updated><title type='text'>Chapter 5 - What iPhone Application Development lack</title><content type='html'>&lt;span style="font-size:180%;color:#990000;"&gt;W&lt;/span&gt;hen compared to desktop application development, iPhone application development lacks some of the features. We are going to discuss these features here&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Limitation on Network Infrastructure&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;iPhone is an always connected mobile device that uses another company’s wireless infrastructure. So apple place some restrictions on iPhone developers than Mac developers (apple developers has all freedom for developing and distributing application without the approval from Apple). The restriction is only for minimize the chance of programs degrading the performance of the shared network&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;&lt;strong&gt;Only one running application is possible&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On an iPhone, only one application can be running at a time. This is because of limited memory and processor speed. This may change in future as iPhone gets more memory and powerful processor&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Limited Access to the system resources&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Desktop application can access everything in the system. But iPhone restricts the things that our application can get. iPhone application can only read and write files from iPhone’s file system that was created for our application. This area is called iPhone Sandbox. Here our application store documents, preferences and other data.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Only one window is possible at a time&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Desktop application can display any number of windows at a time. But iPhone application work with only one window at a time&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Application window size restriction&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Size of the iPhone application window is limited to the size iPhone screen&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Port access restriction&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;iPhone application can not access low number network port&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Limited Response Time&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;iPhone has limited response time. When your program is launched, you have to get your application open, preferences and data loaded, and the main view shown does not take more than a few seconds. At any time, when your program is running if the user presses the home button, iPhone goes home and you have to quickly save everything and quit. If you take longer than five seconds to save the data, the application process will be killed.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Limited Screen Size&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;iPhone screen is just 480 * 320 pixels. So we have less room to work with than on modern computer.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Limited System Resources&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;The current version of iPhone has 128 MB or 256 MB of Physical RAM. Half of the memory is used for screen buffer and other system process. Half of the memory is available for our application. Cocoa touch has a built in mechanism for letting our application know the memory is low and then your application must free up un needed memory or risk being forced to quit&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Energy limits&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;For mobile platforms, you have energy (battery) limitations. When run some programs ,it  produces high levels of waste heat that the phone becomes hot to the touch and the battery quickly runs down. The Camera application is an example.&lt;br /&gt;&lt;br /&gt;But iPhone SDK features help you to design your applications to limit CPU use and avoid running down the battery.&lt;br /&gt; &lt;br /&gt;&lt;span style="color:#990000;"&gt;&lt;strong&gt;Missing Tools&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;iPhone misses some of the most important functionalities available in MAC. iPhone SDK does not support Core Data and Cocoa Buildings. Cocoa Touch does not support garbage collection&lt;br /&gt;Many frameworks like Core animation is partly implemented.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Missing Keyboard and Mouse&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;iPhone doesn’t have mouse and keyboard. User interaction with program is different. Most of the interaction is handled by iPhone. If we add text field, iPhone automatically brings up a keyboard when user clicks on the text field&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Some new features&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;iPhone SDK contains some new features that is not available in Cocoa. iPhone SDK provides a way to determine the phone’s current geographic coordinate using Core Location. iPhone has a built in camera and photo library. SDK provides a way to access these. iPhone also has a built-in accelerometer that allow us to detect whether the phone is being held and moved&lt;br /&gt;&lt;br /&gt;These are the main limitation of the iPhone and its development. There may be some other limitations. If you are aware of any of the limitations other than these, please send to me or add a comment&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6451714398979935200-9049755430794424705?l=iphoneprogrammingtutorials.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iphoneprogrammingtutorials.blogspot.com/feeds/9049755430794424705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/chapter-5-what-iphone-application.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/9049755430794424705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/9049755430794424705'/><link rel='alternate' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/chapter-5-what-iphone-application.html' title='Chapter 5 - What iPhone Application Development lack'/><author><name>iPhone Developer</name><uri>http://www.blogger.com/profile/14007810418976452174</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='22' src='http://2.bp.blogspot.com/_1iaItZRqZco/Smst8F1cR7I/AAAAAAAAABo/AubnD0s37aA/S220/iphone.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6451714398979935200.post-1305801812427163345</id><published>2009-07-26T04:52:00.000-07:00</published><updated>2009-07-26T06:50:09.018-07:00</updated><title type='text'>Chapter 4 – iPhone and iPod Touch – An Introduction</title><content type='html'>&lt;strong&gt;&lt;span style="font-size:180%;color:#990000;"&gt;T&lt;/span&gt;&lt;/strong&gt;he iPhone is built on Apple’s OS X, which is itself built on top of UNIX. Xcode, the same development environment that’s used to write code for the Macintosh, is the core of native programming for the device. Putting all these features together provide a mature development and runtime environment.&lt;br /&gt;&lt;br /&gt;Here we are going to discuss about some history about iPhone and iPod Touch, its technology, specifications, etc. &lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;History&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:180%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;In 2001, Apple introduced iPod to the world. The iPod was a masterpiece of portable design. It highlighted a simple and beautiful interface, giving users access to thousands of songs that they could carry with them all the time.&lt;br /&gt;&lt;br /&gt;In 2006, Apple came up with a next major device – an iPod like mobile phone. That would be called iPhone. Because of its technology and superb user design, the iPhone offered a new hope to the world. It promised a new feel to the cellular phone industry. Apple released their first version of iPhone on June 29, 2007. People were very much interested in iPhone. Apple sold 270,000 iPhones in two days and topped a million units in just 1.5 months.. After the initial release, interest in the iPhone continues to grow. On July 11, 2008, Apple released new 3G iPhone and its public deployment of the iPhone software development kit (SDK). Higher numbers of iPhone sales predicted for 2009 and beyond. The 3G managed to hit a million units sold in just three days.&lt;br /&gt;&lt;br /&gt;Apple today revealed their latest mobile phone, the iPhone 3GS. Here S stands for Speed.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;iPhone 3GS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5362738237810057874" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 318px; CURSOR: hand; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_1iaItZRqZco/SmxGA6gSopI/AAAAAAAAADA/MlYNkoHSsz0/s320/iphone_3gs.jpg" border="0" /&gt;The iPhone 3GS is available from June 19th in North America and Europe. Today it is availble in various parts of the world.&lt;br /&gt;&lt;br /&gt;The 16GB version is available for $199, and the 32GB version is $299.&lt;br /&gt;&lt;br /&gt;All models are available over on the Apple Store&lt;br /&gt;&lt;br /&gt;iPhone 3GS looks virtually the same as the iPhone 3G. But the 3GS offers increasing application speed, battery life, camera resolution, memory and more. According to Apple, the faster processor in the 3GS increases launch times of popular apps from 2.1x (launching messaging), to 3.6x (opening an Excel spreadsheet).&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;3GS has brand new 3-megapixel camera, with auto-focus, auto-exposure, auto-white balance, low light and an auto-macro mode. It can capture still images as close as 10cm away. The camera can also capture video at VGA resolution (yawn) at up to 30fps.&lt;br /&gt;&lt;br /&gt;3GS also provide improved graphical performance. The iPhone 3GS also supports 7.2Mbps HSDPA wireless connections. In addition to these, 3GS adds several new features not supported on the 3G. Battery life is also improved.&lt;br /&gt;&lt;br /&gt;It has a new voice control mode. It allows voice-dial, tracks to play in iTunes, open web pages, and control other applications.&lt;br /&gt;&lt;br /&gt;The iPhone 3GS takes advantage of all of the features of the iPhone 3.0 OS. It includes cut-copy-paste, landscape keyboard, app store micro transactions, MMS messaging, stereo Bluetooth and much more. &lt;/div&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#663300;"&gt;&lt;span style="font-size:180%;color:#330000;"&gt;Comparison chart for various versions of iPhone&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5362746353021691890" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 294px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_1iaItZRqZco/SmxNZSBhJ_I/AAAAAAAAAD4/OBU7tixeItI/s320/iPhone+comparison.jpg" border="0" /&gt; &lt;strong&gt;&lt;span style="font-size:180%;color:#330000;"&gt;iPod Touch&lt;/span&gt;&lt;/strong&gt;&lt;img id="BLOGGER_PHOTO_ID_5362740232552750642" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 186px; CURSOR: hand; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_1iaItZRqZco/SmxH1BgAnjI/AAAAAAAAADo/QXu2qw6O2Oc/s320/apple-ipod-touch.jpg" border="0" /&gt;After the release of the original iPhone, Apple updated their iPod series with the iPod Touch (after some months - 2007). This was a new iPod version built on iPhone technology.&lt;br /&gt;&lt;br /&gt;Like the iPhone, it uses a 480x320 multi-touch screen and supports a mobile Safari.&lt;br /&gt;iPod Touch didn’t have any other telephonic capabilities and camera.&lt;br /&gt;&lt;br /&gt;On 2008, Apple released new version of the iPod Touch. It included an external speaker and volume controls. It has no cellular connectivity. So iPod Touch can only access the internet through local-area wireless connections.&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;iPhone Vs iPod Touch&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5362738383936013346" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 300px; CURSOR: hand; HEIGHT: 312px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_1iaItZRqZco/SmxGJa3bxCI/AAAAAAAAADI/4rqy7LgVb7M/s320/iphoneipod.jpg" border="0" /&gt;Here I am trying to figure out the difference between iPhone and the iPod Touch. The iPhone has a few extra features over the iPod Touch. It has a telephone, bluetooth, a digital camera and the battery lasts slightly longer.&lt;br /&gt;&lt;br /&gt;The price difference between an 8GB iPhone and an 8GB iPod Touch is also just $100.&lt;br /&gt;&lt;br /&gt;Now the downside is that the iPhone needs to be unlocked to work in some countries.&lt;br /&gt;&lt;br /&gt;A comparison chart of iPhone and iPod is given below&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5362762461566351922" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 298px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_1iaItZRqZco/SmxcC7B2OjI/AAAAAAAAAEA/-OO_xazCgGI/s320/iphoneipod+comparision.jpg" border="0" /&gt; &lt;div&gt;&lt;/div&gt;&lt;div&gt;Both devices are almost similar. So making the choice can be tough. In an effort to help those considering an iPhone vs. iPod touch, the chart above allows you to compare the devices head to head. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;Luckily, they are both great. So whichever you choose, you won’t be worry&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;iPhone input and output&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;/span&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;The iPhone’s input is handled through a multi-touch-capable capacitive touch screen.&lt;br /&gt;There is no need for other tool. A user can taps on the screen with one or more fingers.&lt;br /&gt;&lt;br /&gt;The iPhone’s visual output is centered on a 3.5” 480x320-pixel screen. This screen is larger than most cell phones to date. The iPhone can display either in portrait or landscape mode. That means that it can display either a 480-pixel-wide or a 480-pixel-tall screen.&lt;br /&gt;&lt;br /&gt;The iPhone’s output supports a variety of media. It support music and videos in a number of formats—including AAC (Advanced Audio Coding), AIFF (Audio Interchange File Format), Apple Lossless, Audible, MP3, and WAV, MPEG4 videos. An iPhone delivers CD-quality audio and high frame rate video.&lt;br /&gt;&lt;br /&gt;Users will load most of their audio and video from their computer, the iPhone can play streams at high speed over wi-fi on a good network.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;iPhone network connectivity&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:180%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;iPhone support two types of wireless network connectivity – local area and wide area.&lt;br /&gt;&lt;br /&gt;iPhone normally prefer network connectivity through local area wireless network. It can use any nearby wi-fi network. This can provide local connections at high speeds of up to 54 megabits per second (Mbit/s), thus making a network’s link to the internet the most likely source of speed limits, not the iPhone itself. Password and other details are saved in iPhone and so it can automatically reconnect to a known network whenever it can.&lt;br /&gt;&lt;br /&gt;The original iPhone uses the EDGE network for wide-area wireless connectivity, whenever local-area wireless access isn’t available.&lt;br /&gt;&lt;br /&gt;The 3G iPhone and 3Gs iPhone supports the third-generation of mobile phone standards.&lt;br /&gt;&lt;br /&gt;If you are working in a corporate environment where everyone will be accessing your application through a companywide wi-fi. &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;iPhone browser&lt;/strong&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;The iPhone’s browser is a mobile version of Apple’s Safari. It’s a full-fledged desktop browser with access to DOM, CSS, and JavaScript.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;iPhone Hardware features&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:180%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;The iPhone includes all of the cell phone standards, but also some neat new elements such as accelerometer, bluetooth, camera and GPS&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#990000;"&gt;Accelerometer&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The accelerometer is used to detect the orientation change with relation to gravity. That is accelerometer sense when the iPhone is rotated from portrait to landscape mode or back. They can also be used to approximately map an iPhone’s movement through three-dimensional space.&lt;br /&gt;The iPhone contains three accelerometers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#990000;"&gt;Bluetooth&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The iPhone uses the Bluetooth 2.0+EDR (Enhanced Data Rate) protocol. Bluetooth is a protocol that allows modern cell phones to access wireless devices.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;&lt;span style="font-size:130%;"&gt;Camera&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is another requirement for a modern cell phone. The iPhone’s camera is 2.0 megapixel.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="color:#990000;"&gt;GPS &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The older versions of iPhone don’t support real GPS. But 3G and 3GS iPhone includes a true Assisted GPS (A-GPS), which supplements normal GPS service with cell network information. They can access GPS functionalities through the iPhone SDK.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6451714398979935200-1305801812427163345?l=iphoneprogrammingtutorials.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iphoneprogrammingtutorials.blogspot.com/feeds/1305801812427163345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/chapter-4-iphone-and-ipod-touch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/1305801812427163345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/1305801812427163345'/><link rel='alternate' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/chapter-4-iphone-and-ipod-touch.html' title='Chapter 4 – iPhone and iPod Touch – An Introduction'/><author><name>iPhone Developer</name><uri>http://www.blogger.com/profile/14007810418976452174</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='22' src='http://2.bp.blogspot.com/_1iaItZRqZco/Smst8F1cR7I/AAAAAAAAABo/AubnD0s37aA/S220/iphone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_1iaItZRqZco/SmxGA6gSopI/AAAAAAAAADA/MlYNkoHSsz0/s72-c/iphone_3gs.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6451714398979935200.post-4259824023940027878</id><published>2009-07-26T00:20:00.000-07:00</published><updated>2009-07-26T04:51:10.892-07:00</updated><title type='text'>Chapter 3 - Steps for iPhone development – A Summary</title><content type='html'>&lt;span style="color:#000000;"&gt;&lt;span style="font-size:180%;color:#990000;"&gt;T&lt;/span&gt;he&lt;/span&gt; steps involved in developing an iPhone application is&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Get an Intel based Mac computer running Leopard (MAC OS X 10.5.3 or later).&lt;/li&gt;&lt;li&gt;sign up with Apple’s site to become a registered iPhone developer.&lt;/li&gt;&lt;li&gt;Download iPhone SDK from Apple’s site and install iPhone SDK and tools in your Mac machine.&lt;/li&gt;&lt;li&gt;Learn Objective C programming languages.&lt;/li&gt;&lt;li&gt;Study how to use Xcode IDE and Interface builder.&lt;/li&gt;&lt;li&gt;Write a program using the above tools &lt;/li&gt;&lt;li&gt;Sign-up as an official developer. If you plan on releasing your program, you will need to sign up with the iPhone Developer Program. The Standard cost is $99. You need to agree to Apple's terms and conditions, and sign and return the contract. To test your code on an actual iPhone, you need to sign up. Once you're on the Developer Program Apple send a certificate. It allows you to pair up with an iPhone device. &lt;/li&gt;&lt;li&gt;If you are ready with your finished application, you can submit it to App Store. It involves process of zipping up the file, uploading it with a description, a large and small icon, and screenshots. If everything is correct, then it usually takes Apple a week to approve the content and it finds itself in the store&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6451714398979935200-4259824023940027878?l=iphoneprogrammingtutorials.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iphoneprogrammingtutorials.blogspot.com/feeds/4259824023940027878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/chapter-3-steps-for-iphone-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/4259824023940027878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/4259824023940027878'/><link rel='alternate' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/chapter-3-steps-for-iphone-development.html' title='Chapter 3 - Steps for iPhone development – A Summary'/><author><name>iPhone Developer</name><uri>http://www.blogger.com/profile/14007810418976452174</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='22' src='http://2.bp.blogspot.com/_1iaItZRqZco/Smst8F1cR7I/AAAAAAAAABo/AubnD0s37aA/S220/iphone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6451714398979935200.post-5682786150048132610</id><published>2009-07-25T21:31:00.000-07:00</published><updated>2009-07-25T22:27:22.353-07:00</updated><title type='text'>Chapter 2 – iPhone SDK – An Introduction</title><content type='html'>&lt;span style="font-size:180%;color:#cc0000;"&gt;A&lt;/span&gt;re you ready to start iPhone programming ? Are you ready with your Intel based Mac Machine? Then you need Apple’s iPhone Software Development Kit (iPhone SDK). This is free and is available to the members of Apple’s Developer Program.&lt;br /&gt;&lt;br /&gt;iPhone SDK include Xccode (IDE) and iPhone Simulator along with lots of other tools.&lt;br /&gt;Xcode is Apple’s Integrated IDE and we can use it for creating, debugging, compiling and performance tuning application. Simulator allows us to run iPhone application on Mac&lt;br /&gt;&lt;br /&gt;Latest version of iPhone SDK is iPhone SDK 3.0.This release includes bug fixes and usability enhancements, including a more accurate iPhone Simulator&lt;br /&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;Downloading iPhone SDK&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can download iPhone SDK from Apple’s site at &lt;a href="http://developer.apple.com/iphone"&gt;http://developer.apple.com/iphone&lt;/a&gt;. The steps involved in downloading iPhone SDK from this site is explained in my first blog (&lt;a href="http://iphoneprogrammingtutorials.blogspot.com/2009/07/begin-your-iphone-programming-today.html"&gt;Chapter 1 - Beginning Your iPhone Programming Today - An Introduction&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;Before download the iPhone SDK file, it will ask your Apple ID. If you don't have the Apple ID, just click the “Create Apple ID” button and fill your details in the form. Apple will send an email to your Email ID which is given by you during the registration. They send a confirmation mail and also give the link for downloading the SDK.&lt;br /&gt;&lt;br /&gt;iPhone SDK installation is a file with extension .dmg. When I downloaded iPhone SDK, the file name was “iphone_sdk_3.0__leopard__9m2736__final.dmg”. It may vary&lt;br /&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;Pre-Requisite&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;iPhone SDK requires an Intel-based Mac running Mac OS X Leopard version 10.5.7 or later. . The file size is around 2134 MB.&lt;br /&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;Installing iPhone SDK in your Mac Machine&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The steps involved for installing iPhone SDK is explained here&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;After downloading iPhone SDK to your Mac machine, double click on the file with extension .dmg extension. This will display a window like this&lt;img id="BLOGGER_PHOTO_ID_5362623686707722130" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 309px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_1iaItZRqZco/Smvd1KZPN5I/AAAAAAAAACI/jLtlK1jn5eo/s320/1.jpg" border="0" /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Please Select iPhone SDK icon in this window and double click on it. For now discard other icons displayed in that window. Then we will get the following window &lt;img id="BLOGGER_PHOTO_ID_5362623973278285138" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 227px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_1iaItZRqZco/SmveF18-_VI/AAAAAAAAACQ/RWWy71AMhP4/s320/2.jpg" border="0" /&gt; &lt;/li&gt;&lt;li&gt;Click Continue to continue the installation. This will display a window looks like the below one&lt;img id="BLOGGER_PHOTO_ID_5362624206294730642" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 227px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_1iaItZRqZco/SmveTaAbx5I/AAAAAAAAACY/oJEn82Qcb48/s320/3.jpg" border="0" /&gt;&lt;/li&gt;&lt;li&gt;From the above screen, you can select required tools using “Custom Install”. Now please select the options shown in the above figure and then click Continue button. This will display a window like the on shown in the following figure &lt;img id="BLOGGER_PHOTO_ID_5362624475648193250" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 227px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_1iaItZRqZco/SmvejFbTcuI/AAAAAAAAACg/V0o1uBfbx-E/s320/4.jpg" border="0" /&gt; &lt;/li&gt;&lt;li&gt;From this window, you can change the installation location for installing the SDK or we can install SDK in the default location. The default installation location for iPhone SDK installation is /Developer. After this click Install to start the installation &lt;img id="BLOGGER_PHOTO_ID_5362624625989575874" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 230px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_1iaItZRqZco/Smver1fe5MI/AAAAAAAAACo/LpCQ-7qxJdM/s320/5.jpg" border="0" /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;During the installation, we need to enter Mac Username and Password (as shown in the above figure)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;After validating the entered information (Username and Password), the installation process will start. The installation progress is shown in a window. This window looks like&lt;/li&gt;&lt;img id="BLOGGER_PHOTO_ID_5362625231777570210" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 229px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_1iaItZRqZco/SmvfPGOmHaI/AAAAAAAAACw/upOXO12uI_Q/s320/6.jpg" border="0" /&gt;&lt;br /&gt;&lt;li&gt;If there is no interrupt, the installation will succeed and we will get a window like&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5362625466716252322" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 228px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_1iaItZRqZco/SmvfcxcV6KI/AAAAAAAAAC4/7WfcRbXuJvE/s320/7.jpg" border="0" /&gt; Now iPhone SDK installation is completed and you can clsoe the window&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#330000;"&gt;&lt;span style="color:#330000;"&gt;&lt;span style="font-size:180%;"&gt;Tools&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;The most important tools comes with iPhone SDK are Simulator, Xcode, Interface Builder, Instruments and Dashcode. The following section give a small introduction to these tools&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;color:#990000;"&gt;Simulator&lt;/span&gt;&lt;/p&gt;&lt;p&gt;iPhone SDK includes a simulator that will allow you to run your iPhone application on Mac. This enables you to create and test applications on your desktop. Simulator does not support hardware dependent features such as camera. But this is helpful for iPhone development and studying.. You can do this without connecting to an actual iPhone or iPod touch. The Simulator offers the same API used on the iPhone and provides a preview of how your concept designs will look&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;color:#990000;"&gt;Xcode&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Xcode is Apple’s Integrated IDE and we can use it for creating, debugging, compiling and performance tuning application. It is the most important tool in the iPhone development. It provides a project development and management environment. It includes source editing, documentation, and a graphical debugger. It is built around several open source GNU tools, namely gcc (compiler) and gdb (debugger). The complete Mac OS X developer tools chain is distributed as part of Xcode .These tools include Interface Builder, Dashcode, Instruments and the WebObjects framework&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;color:#990000;"&gt;Interface Builder&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Interface Builder is Apple's graphical editor for designing user interface components. Developers can use IB to create user interfaces by dragging user interface elements such as buttons, labels or text fields from a palette of predefined controls and dropping them into the window or view. Interface Builder works with Xcode.&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;color:#990000;"&gt;Instruments &lt;/span&gt;&lt;/p&gt;&lt;p&gt;Instruments are the tool used for tracking memory leaks and making sure your applications run efficiently without any problem on iPhone and iPod Touch. It includes graphical time based performance plots that show where your applications are using the most resources. It shows memory usage and monitors performance. As a developer, this helps you to identify the problem areas in your applications. It is build around the open source DTrace package (developed by Sun Microsystems)&lt;/p&gt;&lt;p&gt;&lt;span style="color:#990000;"&gt;&lt;span style="font-size:130%;"&gt;Dashcode&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Dashcode allow you to create Web applications (web widgets) that you can run outside of a browser environment (safari).&lt;br /&gt;&lt;br /&gt;For now this explanation is enough. We will discuss more about each and every tool in coming chapters. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6451714398979935200-5682786150048132610?l=iphoneprogrammingtutorials.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iphoneprogrammingtutorials.blogspot.com/feeds/5682786150048132610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/chapter-2-iphone-sdk-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/5682786150048132610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/5682786150048132610'/><link rel='alternate' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/chapter-2-iphone-sdk-introduction.html' title='Chapter 2 – iPhone SDK – An Introduction'/><author><name>iPhone Developer</name><uri>http://www.blogger.com/profile/14007810418976452174</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='22' src='http://2.bp.blogspot.com/_1iaItZRqZco/Smst8F1cR7I/AAAAAAAAABo/AubnD0s37aA/S220/iphone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_1iaItZRqZco/Smvd1KZPN5I/AAAAAAAAACI/jLtlK1jn5eo/s72-c/1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6451714398979935200.post-5466466604138846616</id><published>2009-07-25T01:11:00.001-07:00</published><updated>2009-07-25T09:18:49.279-07:00</updated><title type='text'>Chapter 1 - Beginning Your iPhone Programming Today - An Introduction</title><content type='html'>&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;Welcome to the iPhone Programming world&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;color:#cc0000;"&gt;S&lt;/span&gt;o, you are going to write iPhone programs? Welcome to the most interesting world of programming. Today, iPhone is one of the most interesting programming platforms. Apple’s iPhone is more than just a new programming platform; it’s an entirely new way to think about mobile technologies.&lt;br /&gt;&lt;br /&gt;Here I am going to explain each and every point of iPhone programming. This is my first blog which includes only the basic details of iPhone&lt;br /&gt;&lt;br /&gt;This chapter is intended for novice programmers and experienced programmers can skip this chapter.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;Things we need before writing iPhone programs&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Before writing iPhone programs you need to setup the following things &lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;You need an Intel–based Macintosh running Leopard (MAC OS X 10.5.3 or later).We need to use a Macintosh computer released since 2006. It can be a laptop or desktop. You can buy a Mac Mini or MacBook&lt;/li&gt;&lt;li&gt;You need to sign up with Apple site to become a registered iPhone developer&lt;/li&gt;&lt;li&gt;You need to download and install iPhone SDK from Apple’s site&lt;/li&gt;&lt;li&gt;For distributing application in app store, we need to purchase one of the developer programs. Then apple will send the necessary information to you.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;Hardware requirements for iPhone program development&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;IPhone program development has minimum hardware requirements .Without this requirements, iPhone programming cannot begin. Here we describe essential hardware needed for iPhone development.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#990000;"&gt;Mac machine&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;We need an Intel-ba&lt;img class="gl_bold" alt="Bold" src="http://www.blogger.com/img/blank.gif" border="0" /&gt;sed Mac machine or Mac Book because iPhone applications can only be developed using Apple X OS. A non-Intel based Mac machine cannot be used for iPhone application development. We can choose between a Mac Book (or Mac Mini) and a Mac PC. Please make sure that it has at least 2GB RAM for smooth performance&lt;br /&gt;We can use an alternative as a Power PC Mac for iPhone development. But the output will result in extremely low productivity. If you still want to use PowerPC make sure it is running Leopard 10.5.4 or higher&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#990000;"&gt;iPhone&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Phone applications can be developed using the iPhone Simulator (that comes bundled with the iPhone SDK) or iPhone. But iPhone Simulator does not support system dependent functionalities like GPS functionality or access the internet from within the application. In such cases the iPhone simulator is not enough and you need to buy an iPhone.&lt;br /&gt;Once you have this minimum hardware ready, you can start to write iPhone applications and games.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;Signup as a registered iPhone developer&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For downloading the iPhone SDK from Apple, we need to register as a registered iPhone developer. Steps involved are&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;To sign up, please visit &lt;a href="http://developer.apple.com/iphone"&gt;http://developer.apple.com/iphone&lt;/a&gt;&lt;br /&gt;This will show a page similar to the one shown below (Here I am using Internet explorer as browser from Windows. You can choose to use Apple Safari as browser from MAC&lt;img id="BLOGGER_PHOTO_ID_5362366081258604146" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 190px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_1iaItZRqZco/SmrzijUFxnI/AAAAAAAAAAM/GXqRG7DMy5U/s320/1.jpg" border="0" /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Then click on the Register link at the top right (marked with red circle). This bring up a page similar to shown below&lt;/li&gt;&lt;img id="BLOGGER_PHOTO_ID_5362366926397869602" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 190px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_1iaItZRqZco/Smr0Tvs_jiI/AAAAAAAAAAU/RFIEaY02lg4/s320/2.jpg" border="0" /&gt;&lt;br /&gt;&lt;li&gt;Then click on the continue button (marked in red circle). Then we will get the following page&lt;/li&gt;&lt;img id="BLOGGER_PHOTO_ID_5362367906672950098" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 190px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_1iaItZRqZco/Smr1MzgyO1I/AAAAAAAAAAc/uWkqQKG8g4Y/s320/3.jpg" border="0" /&gt;&lt;br /&gt;&lt;li&gt;Select the first option (Create an Apple ID) and click continue.&lt;/li&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5362406444936156882" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 188px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_1iaItZRqZco/SmsYQBuvVtI/AAAAAAAAAAs/hqM0QRVIuiI/s320/4.jpg" border="0" /&gt;&lt;br /&gt;&lt;li&gt;Enter Apple ID and other account information in this page and click continue. Next page is &lt;/li&gt;&lt;img id="BLOGGER_PHOTO_ID_5362406741842518578" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 189px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_1iaItZRqZco/SmsYhTyu4jI/AAAAAAAAAA0/qY1vEaDI4Fg/s320/5.jpg" border="0" /&gt;&lt;br /&gt;&lt;li&gt;Select your options and click Continue. Then you will get the screen&lt;/li&gt;&lt;img id="BLOGGER_PHOTO_ID_5362407119196531922" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 189px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_1iaItZRqZco/SmsY3Ri8LNI/AAAAAAAAAA8/jsdottTAMeM/s320/6.jpg" border="0" /&gt;&lt;br /&gt;&lt;li&gt;Here you need accept the iPhone Developer Agreement and click I Agree. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Then Apple will send a verification code to your email id. You need to copy the verification code from email and paste that code to the edit box in the following screen and click Continue&lt;/li&gt;&lt;img id="BLOGGER_PHOTO_ID_5362407826542575666" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 189px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_1iaItZRqZco/SmsZgcnYQDI/AAAAAAAAABE/Ij3-EFY-LOg/s320/8.jpg" border="0" /&gt;&lt;br /&gt;&lt;li&gt;If the verification code is correct, you will become a registered iPhone developer&lt;/li&gt;&lt;img id="BLOGGER_PHOTO_ID_5362408176650181730" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 188px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_1iaItZRqZco/SmsZ003iXGI/AAAAAAAAABM/nxd5oBFDJK0/s320/9.jpg" border="0" /&gt;Then you can download lots of tools from apple site including iPhone SDK&lt;br /&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;Downloading iPhone SDK&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;To download iPhone SDK from Apple site, we need to get valid Apple ID. Once you register with Apple, follow the steps given below&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Visit the site &lt;a href="http://developer.apple.com/iphone"&gt;http://developer.apple.com/iphone&lt;/a&gt; and click iPhone SDK link (as shown in the figure in red circle)&lt;img id="BLOGGER_PHOTO_ID_5362411289918438402" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 189px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_1iaItZRqZco/SmscqCsh_AI/AAAAAAAAABU/n7EbyAjYIxk/s320/1.jpg" border="0" /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Then you will get the following page&lt;/li&gt;&lt;img id="BLOGGER_PHOTO_ID_5362411718606950434" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 188px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_1iaItZRqZco/SmsdC_r1kCI/AAAAAAAAABc/lJw-YkcKpIQ/s320/2.jpg" border="0" /&gt;Click the Downloads link&lt;br /&gt;&lt;br /&gt;&lt;li&gt;This will download iPhone SDK installation to our machine&lt;/li&gt;We can also download documentation, video, sample codes, etc. from this site.&lt;br /&gt;&lt;br /&gt;We will explain more about iPhone SDK and its installation in my next tutorial (in Chapter 2).&lt;/ol&gt;&lt;p&gt;&lt;span style="font-size:180%;color:#330000;"&gt;&lt;strong&gt;Distributing application in app store&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;We can not distribute our application to apple store without the permission from Apple. If you plan on releasing your masterpiece at any point, you'll need to sign up with the iPhone Developer Program. There are two types of programs are available.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Standard program - The cost is $99, and it involves agreeing to Apple's terms and conditions, and signing and returning the contract. If you complete the project, you will need to sign up in order to test your code on an actual iPhone rather than iPhone simulator. Once you are on the Developer Program you are sent a certficate, which allows you to pair up with an iPhone device. It provides development tools, resources, technical support, and distribution of our application via App Store, the ability to test and debug our code on iPhone.&lt;/li&gt;&lt;li&gt;Enterprise program – The cost is $299. It is for companies developing proprietary in-house application for iPhone/iPod&lt;br /&gt;&lt;br /&gt;We will discuss more about these in the coming chapters&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6451714398979935200-5466466604138846616?l=iphoneprogrammingtutorials.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iphoneprogrammingtutorials.blogspot.com/feeds/5466466604138846616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/begin-your-iphone-programming-today.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/5466466604138846616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6451714398979935200/posts/default/5466466604138846616'/><link rel='alternate' type='text/html' href='http://iphoneprogrammingtutorials.blogspot.com/2009/07/begin-your-iphone-programming-today.html' title='Chapter 1 - Beginning Your iPhone Programming Today - An Introduction'/><author><name>iPhone Developer</name><uri>http://www.blogger.com/profile/14007810418976452174</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='22' src='http://2.bp.blogspot.com/_1iaItZRqZco/Smst8F1cR7I/AAAAAAAAABo/AubnD0s37aA/S220/iphone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_1iaItZRqZco/SmrzijUFxnI/AAAAAAAAAAM/GXqRG7DMy5U/s72-c/1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry></feed>
