Apress Access

Developing C# Apps for iPhone and iPad using MonoTouch

iOS Apps Development for .NET Developers

By Bryan Costanich

  • eBook Price: $38.99
Buy eBook Buy Print Book
A guide for .NET developers to turn their C# apps into blockbusters for iOS using MonoTouch.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-3174-5
  • 512 Pages
  • User Level: Beginner to Intermediate
  • Publication Date: June 8, 2011
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Appium Recipes
  • Beginning Xcode: Swift 3 Edition
  • Migrating to Swift from Flash and ActionScript
  • Agile Swift
  • Windows 10 for the Internet of Things
Full Description

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 you’ll 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 CocoaTouch’s 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

Table of Contents

  1. Getting Started with MonoTouch
  2. Our First Application
  3. The Model, View, Controller Approach to Multiple Screen Applications
  4. iPad and Universal (iPhone/iPad) Applications
  5. More on Views and Controllers
  6. Introduction to Controls
  7. Standard Controls
  8. Content Controls
  9. Working with Tables
  10. Working with Keyboards
  11. Multitasking
  12. Working with Touch
  13. Working with Shared Resources
  14. User and Application Settings
  15. Working with CoreLocation
  16. Drawing with CoreGraphics
  17. Core Animation
  18. Notifications
  19. Working with Data
  20. Publishing to the App Store
  21. Third Party Libraries
  22. Using Objective-C Libraries and Code
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page 35:

The method code between Figures 2-28 and 2-29 is improperly declared as "partial void ActionButtonClick..." It should be "partial void actnButtonClick..." - replace "Action" with "actn" to match steps up to this point.

On page 70:

The sample source on page 70 for creating an universal app contains code for adding an iphone or ipad screen (?) using this._window.AddSubView(...) but it is not explained in the book where those 2 screens come from or how to create them... apparantly you should have created something called _iPhoneHome and _iPadHome? But how and where? Are those XIB's? Or is there some declaration missing?

Also this sample code can not be found in the source code download.


    1. Swift Game Programming for Absolute Beginners


      View Book

    2. Appreneur


      View Book

    3. Beginning iOS Media App Development


      View Book

    4. Learn GameSalad for iOS


      View Book