Home > Store

Learning MonoTouch: A Hands-On Guide to Building iOS Applications with C# and .NET, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Not for Sale

Description

  • Copyright 2011
  • Dimensions: 7" x 9"
  • Pages: 360
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-13-138826-6
  • ISBN-13: 978-0-13-138826-0

This is the Rough Cut version of the printed book.

Develop State-of-the-Art iPhone/iPad Apps with MonoTouch and .NET!

Are you an experienced C#/.NET developer who wants to reach the huge iPhone/iPad market? Now, you can create great iOS apps without first mastering Objective-C and Apple’s development toolset. With MonoTouch, you can leverage the skills you already have to create powerful apps that can be sold in Apple’s App Store or deployed throughout your organization. In Learning MonoTouch, Michael Bluestein helps you get started with MonoTouch fast and make the most of its remarkably robust capabilities.

The book first walks you through setting up your MonoTouch development environment, explaining how MonoTouch abstracts the iOS SDK to permit development against native iOS classes from C#. Through simple examples, you’ll start building working apps, establishing a firm foundation for more advanced coding. One step at a time, you’ll master increasingly sophisticated cases through practical examples. Bluestein even shows you how to leverage powerful .NET tools in your iOS apps, including LINQ.

Coverage includes

• Applying common iOS development patterns and techniques in C#

• Using MonoTouch to handle memory management and garbage collection

• Structuring MonoTouch apps for the MVC design pattern

• Making the most of iOS user interface classes

• Leveraging the address book, camera access, email, and iOS media features

• Customizing tables and navigation for richer experiences and better performance

• Accessing the iOS Core Graphics and Core Animation subsystems

• Building iOS location-based applications with Core Location and MapKit

• Consuming web services from MonoTouch

• Integrating iOS and .NET networking capabilities

• Saving data with the ADO.NET provider to SQLite, .NET serialization, and NSUserDefaults

All code samples are available for download at github.com/mikebluestein.

Sample Content

Table of Contents

Preface     xiii

The Audience for This Book     xiii

About the Sample Code     xiv

Acknowledgments     xv

About the Author     xvi

Introduction     1

How This Book Is Organized     1

Chapter 1: Hello MonoTouch     1

Chapter 2: iOS SDK via MonoTouch    2

Chapter 3: Views and View Controllers    2

Chapter 4: Common iOS Classes     2

Chapter 5: Tables and Navigation     2

Chapter 6: Graphics and Animation    2

Chapter 7: Core Location     3

Chapter 8: MapKit     3

Chapter 9: Connecting to Web Services    3

Chapter 10: Networking     3

Chapter 11: Saving Application Data    3

Chapter 12: iPad Development     3

Chapter 1 Hello MonoTouch     5

Setting Up Your Environment     5

Installing the iOS SDK and Apple Developer Tools     5

Installing MonoTouch     10

Creating a MonoTouch Application     14

Creating the User Interface     14

Adding Outlets     16

Developing on the Device     24

Provisioning for Development     24

Using the MonoTouch Debugger    29

Summary     31

Chapter 2 iOS SDK via MonoTouch     33

iOS SDK Overview     33

Objective-C Versus MonoTouch By Example     35

Getting the App Started from Xcode    36

Implementing the Same Functionality with MonoTouch     41

Comparing the AppDelegate Implementations     43

Implementing UIActionSheet via Xcode     46

Implementing UIActionSheet in MonoTouch     48

How MonoTouch Works     52

Memory Management     54

Summary     56

Chapter 3 Views and View Controllers     57

Structuring a MonoTouch Application to MVC     57

Working with Views and Controllers in Interface Builder    &

Updates

Submit Errata

More Information