An iPhone app is a program that runs
on our iPhone/iPod Touch. It enables us to accomplish a certain task. They could
be utility apps, games, enterprise apps, entertainment apps, apps to access our
bank account etc.
NSXMLParser is a forward only reader or an event driven parser. What it means is, an event is raised whenever the parser comes across a start of an element, value, CDATA and so on. The delegate of NSXMLParser can then implement these events to capture XML data. Some of the events are raised multiple times like the start of an element, value of an element and so on. Since NSXMLParser is known as an event driven parser, we can only read data at the present node and cannot go back. The iPhone only supports NSXMLParser and not NSXMLDocument , which loads the whole XML tree in memory. Books Application To understand how to use an instance of NSXMLParser, let’s create a simple navigation based application where we will list the title of the book in the table view and upon selecting a title, display the detail information in a detail view. Click here to see the sample XML file, used in this application. Create a new application in XCode by selecting Navig...
Step 1 Launch the "iTunes" application on your computer. Select a song from the music library that you'd like to set as the ring tone on your iPhone. Step 2 Right-click on the song. Click "Get Info" and then "Options." You will see boxes labeled "Start Time" and "Stop Time." Input the start and stop times that you want to clip from the song into the corresponding boxes. Step 3 Right-click the song you've chosen and then click "Create AAC Version." This will create an abbreviated version of the song using the start and stop times you've specified. Step 4 Right-click on the AAC version you just created and click "Show in Windows Explorer." Navigate back to iTunes and click "Remove" to remove the AAC version of the song in iTunes. Click "Keep File" and save it to your computer's hard drive. Step 5 Click on the file and change its extension from ".m4a" to...
Core Data helps you to save model objects (in the sense of the model-view-controller design pattern) to a file and get them back again. This is similar to archiving technology but Core Data offers much more than that. Amongst other things it… · Provides an infrastructure for managing all the changes to your model objects. This gives you automatic support for undo and redo, and for maintaining reciprocal relationships between objects. · Allows you to keep just a subset of your model objects in memory at any given time. This is especially important on iPhone where conserving memory is critical. · Uses a schema to describe the model objects. You define the principal features of your model classes—including the relationships between them—in a GUI-based editor. This provides a wealth of basic functionality “for free,” including setting of...