Learning MonoTouch: A Hands-On Guide to... | WHSmith Books
Learning MonoTouch: A Hands-On Guide to Building iOS Applications with C# and .NET

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

By: Michael Bluestein (author)Paperback

Up to 2 WeeksUsually despatched within 2 weeks

Description

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.

About Author

Michael Bluestein is a software developer, consultant, and active participant in the MonoTouch developer community. A former Principal Software Engineer at Dassault Systemes Solidworks Corporation, he has developed software professionally since the early 1990s.

Contents

Preface xiiiThe Audience for This Book xiiiAbout the Sample Code xivAcknowledgments xvAbout the Author xviIntroduction 1How This Book Is Organized 1Chapter 1: Hello MonoTouch 1Chapter 2: iOS SDK via MonoTouch 2Chapter 3: Views and View Controllers 2Chapter 4: Common iOS Classes 2Chapter 5: Tables and Navigation 2Chapter 6: Graphics and Animation 2Chapter 7: Core Location 3Chapter 8: MapKit 3Chapter 9: Connecting to Web Services 3Chapter 10: Networking 3Chapter 11: Saving Application Data 3Chapter 12: iPad Development 3Chapter 1 Hello MonoTouch 5Setting Up Your Environment 5Installing the iOS SDK and Apple Developer Tools 5Installing MonoTouch 10Creating a MonoTouch Application 14Creating the User Interface 14Adding Outlets 16Developing on the Device 24Provisioning for Development 24Using the MonoTouch Debugger 29Summary 31Chapter 2 iOS SDK via MonoTouch 33iOS SDK Overview 33Objective-C Versus MonoTouch By Example 35Getting the App Started from Xcode 36Implementing the Same Functionality with MonoTouch 41Comparing the AppDelegate Implementations 43Implementing UIActionSheet via Xcode 46Implementing UIActionSheet in MonoTouch 48How MonoTouch Works 52Memory Management 54Summary 56Chapter 3 Views and View Controllers 57Structuring a MonoTouch Application to MVC 57Working with Views and Controllers in Interface Builder 59Adding Functionality to a View Controller and Its View 67Working with Multiple Views and Controllers 71Implementing a Custom UIView 75Summary 80Chapter 4 Common iOS Classes 81User Interface Views and Controls 81UISegmentedControl 81UISlider 85UISwitch 88UIPageControl and UIScrollView 89UIActivityIndicatorView 92UIProgressView 94UIImageView 95UIWebView 97ADBannerView 100Device Capabilities 103MFMailComposeViewController 103MPMediaPickerController and MPMusicPlayerController 105Address Book 108UIImagePickerController 111Summary 116Chapter 5 Tables and Navigation 117Introduction to UITableView and UITableViewController 117What Are Tables Used For? 117Displaying Data in a UITableView 119UITableViewCell Parts and Styles 125Using Tables and Navigation 128Additional UITableView Customizations 144Customizing Tables Further with Custom Cells 144Adding Multiple Sections 148MonoTouch.Dialog 153Summary 155Chapter 6 Graphics and Animation 157Core Graphics 157Core Graphics Fundamentals 157Drawing Images 165Drawing PDFs 170Animation 180UIView Animation 181Core Animation 185Summary 194Chapter 7 Core Location 195Introducing Core Location 195Standard Location Service 197Retrieving Heading Updates 207Significant Location Changes 209Region Monitoring 211Background Location 214Summary 216Chapter 8 MapKit 217Introducing MapKit 217Adding Annotations 224Map Overlays 233Summary 240Chapter 9 Connecting to Web Services 241Connecting to REST-based Web Services 241Connecting over HTTP 241Parsing XML Results 244Parsing JSON Results 247Consuming SOAP-based Web Services 248Using a .NET 2.0 Client Proxy 248WCF under MonoTouch 250Using CocoaTouch HTTP Classes 251Using NSUrlConnection and Friends 252Summary 254Chapter 10 Networking 255GameKit Networking 255Core GameKit Networking Classes 255Using GKPeerPickerController 264GameKit Voice Chat 268Bonjour 272Summary 281Chapter 11 Saving Application Data 283The Notes Sample Application 283SQLite 289Serialization 295Settings Bundle and NSUserDefaults 297Summary 306Chapter 12 iPad Development 307Porting to iPad 307iPhone Applications with Pixel Doubling 307Universal Applications 308Designing for the iPad 311UISplitViewController 312UIPopoverController 323Summary 326Index 327

Product Details

  • ISBN13: 9780321719928
  • Format: Paperback
  • Number Of Pages: 360
  • ID: 9780321719928
  • weight: 562
  • ISBN10: 0321719921

Delivery Information

  • Saver Delivery: Yes
  • 1st Class Delivery: Yes
  • Courier Delivery: Yes
  • Store Delivery: Yes

Prices are for internet purchases only. Prices and availability in WHSmith Stores may vary significantly

Close