Free Sample
+ Collection

iOS Development using MonoTouch Cookbook

Dimitris Tavlikos

For C# and .NET developers, MonoTouch opens the door to Apple’s lucrative app store. This cookbook gives you bags of recipes to help you learn every aspect of developing for iOS. A gem of a guide.
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849691468
Paperback384 pages

About This Book

  • Detailed examples covering every aspect of iOS development using MonoTouch and C#/.NET
  • Create fully working MonoTouch projects using step-by-step instructions.
  • Recipes for creating iOS applications meeting Apple's guidelines.

Who This Book Is For

This book is essential for C# and .NET developers with no previous experience in iOS development and Objective-C developers that want to make a transition to the benefits of MonoTouch and the C# language, for creating complete, compelling iPhone, iPod and iPad applications and deploying them to the App Store.

Table of Contents

Chapter 1: Development Tools
Installing pre-requisites
Creating an iPhone project with MonoDevelop
Interface builder
Creating the UI
Accessing the UI with outlets
Adding actions
Debugging our application
Chapter 2: User Interface: Views
Adding and customizing views
Receiving user input with buttons
Using labels to display text
Displaying images
Displaying and editing text
Using the keyboard
Displaying progress
Displaying content larger than the screen
Navigating through content divided into pages
Displaying a toolbar
Creating a custom view
Chapter 3: User Interface: View Controllers
Loading a view with a view controller
Navigating through different view controllers
Providing controllers in tabs
Creating a table controller
Modal view controllers
Creating a custom view controller
Using view controllers efficiently
Combining different view controllers
iPad view controllers
Creating a user interface for different devices
Chapter 4: Data Management
Creating files
Creating an SQLite database
Inserting and updating data
Querying an SQLite database
Using an already existing SQLite database
Storing data with serialization
Storing data with XML
Managing XML data with LINQ to XML
Chapter 5: Displaying Data
Providing lists
Displaying data in a table
Customizing rows
Editing a table: deleting rows
Editing a table: inserting rows
Table indexing
Searching through the data
Creating a simple web browser
Displaying local content
Displaying formatted text
Displaying documents
Chapter 6: Web Services
Consuming web services
Invoking web services
Consuming WCF services
Reading JSON data
Chapter 7: Multimedia Resources
Selecting images and videos
Capturing media with the camera
Playing video
Playing music and sounds
Recording with the microphone
Managing multiple album items directly
Chapter 8: Integrating iOS Features
Starting phone calls
Sending text messages and e-mails
Using text messaging in our application
Using e-mail messaging in our application
Managing the address book
Displaying contacts
Managing the calendar
Chapter 9: Interacting with Device Hardware
Detecting device orientation
Adjusting UI orientation
Proximity sensor
Retrieving battery information
Handling motion events
Handling touch events
Recognizing gestures
Custom gestures
Using the accelerometer
Using the gyroscope
Chapter 10: Location Services and Maps
Determining location
Determining heading
Using region monitoring
Using significant-change location service
Location services in the background
Displaying maps
Adding map annotations
Adding map overlays
Chapter 11: Graphics and Animation
Animating Views
Transforming views
Animation with images
Animating layers
Drawing lines and curves
Drawing shapes
Drawing text
A simple drawing application
Creating an image context
Chapter 12: Multitasking
Detecting application states
Receiving notifications for application states
Running code in the background
Playing audio in the background
Network connectivity maintenance
Chapter 13: Localization
Creating an application for different languages
Localizable resources
Regional formatting
Chapter 14: Deploying
Creating profiles
Creating an ad-hoc distribution bundle
Preparing an application for the App Store
Submitting to the App Store
Chapter 15: iOS 5 Features
Reproducing the page curl effect
Styling views
Twitter integration
Working with the split keyboard

What You Will Learn

  • Create applications specifically designed for the iPad.
  • Consume .NET web services, including WCF.
  • Capture and manage multimedia resources using the device's camera and microphone.
  • Use the accelerometer to capture and respond to device movements.
  • Create location-aware applications using the built-in GPS, compass and mapping features.
  • Create graphics and animation for powerful applications.
  • Effectively use multitasking features to provide a user-friendly experience.
  • Target worldwide audience with localization techniques and deploy to the App Store.
  • Introduction to some of the new features of iOS 5

In Detail

MonoTouch brings the amazing revenue opportunities of Apple’s billion dollar app store to C# and .NET developers.

This cookbook leaves no stone unturned, providing you with practical recipes covering user interfaces, data management, multimedia , web services, and localization, right through to application deployment on the app store.

Whatever the area of MonoTouch iOS development you need to know about, you will find a recipe for it in this cookbook. Minimum theory and maximum practical action defines this book. It is jam packed with recipes for interacting with the device hardware, like the GPS, compass and the accelerometer. Recipes for those all important real world issues such as designing the UI with the integrated designer introduced with Xcode 4. It is the essential cookbook for C# and .NET developers wanting to be part of the exciting and lucrative world of iOS development.


Read More