Developing C# Applications for iPhone and iPad using MonoTouch shows you how to use your existing C# skills to write apps for the iPhone and iPad. Fortunately, there's MonoTouch, Novell's .NET library that allows C# developers to write C# code that executes in iOS. Furthermore, MonoTouch allows you to address all the unique functions of the iPhone, iPod Touch, and iPad. And the big plus: You needn't learn any Objective-C to master MonoTouch!
Former Microsoft engineer and published app-store developer Bryan Costanich shows you how to use the tools you already know to create native apps in iOS using C# and the .NET Base Class Libraries. The magic is in Novell's implementation of Apple's Cocoa libraries in MonoTouch. You'll master the same elegant and rich Cocoa environment, but without the need to learn a new programming language.
Developing C# Applications for iPhone and iPad using MonoTouch takes you from your first "Hello, World" example through the major APIs and features of iOS. The coverage is comprehensive and makes use of frequent examples, complete with sample code you can download and reuse to create your own powerful and playful apps.
What youll learn
- How to use your existing C# skills to develop applications on the iPhone and iPad
- Apple's Model View Controller (MVC) methodology
- Working with CocoaTouchs UIKit to create iOS applications using native controls
- Device-specific features, like the camera, GPS, and Compass using CoreLocation, the accelerometer, and others
- Accessing shared resources such as the photos, contacts, and more
- How to persist and retrieve data using SQLite and .NET libraries
- Complex drawing and animation using CoreGraphics and CoreAnimation
- The use of Apple's Push Notification Service
- The latest game porting techniques using XNA Touch
- How to integrate off-the-shelf Objective-C libraries
Who this book is for
Every .NET and C# developer who has have ever wanted to create an application or game for Apple's App Store.
Please note: to make use of the exercises in this book, readers must have a Mac computer running OS 10.6 or higher.
Table of Contents
- Getting Started with MonoTouch
- Our First Application
- The Model, View, Controller Approach to Multiple Screen Applications
- iPad and Universal (iPhone/iPad) Applications
- More on Views and Controllers
- Introduction to Controls
- Standard Controls
- Content Controls
- Working with Tables
- Working with Keyboards
- Working with Touch
- Working with Shared Resources
- User and Application Settings
- Working with CoreLocation
- Drawing with CoreGraphics
- Core Animation
- Working with Data
- Publishing to the App Store
- Third Party Libraries
- Using Objective-C Libraries and Code