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...
Step 1: Open the Xcode, Create a new project using Single View Application. Give the application “StringConvert”. Step 2: Need to add new viewController class in the project. Select project -> New file -> UIViewController subclass -> next -> Give the application name “StringConvertView”. Step 3: Now open the AppDelegate.h file and make the following changes: #import <UIKit/UIKit.h> @class StringConvertView; @interface AppDelegate : UIResponder <UIApplicationDelegate> { StringConvertView * stringConvertView; } @property ( nonatomic, retain ) IBOutlet StringConvertView * stringConvertView; Step 4: In the AppDelegate.m file make the following changes: #import "AppDelegate.h" #import "StringConvertView.h" @implementation AppDelegate @synthesize window = _window; @synthesize stringConvertView; - ( BOOL ) application : ( UIApplication * ) application didF...