Buy Learning MonoTouch by Michael Bluestein - Bookswagon
close menu
Bookswagon
search
My Account
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology Books > Computer hardware > Personal computers > Macintosh > Learning MonoTouch: A Hands-On Guide to Building iOS Applications with C# and .NET(Learning)
Learning MonoTouch: A Hands-On Guide to Building iOS Applications with C# and .NET(Learning)

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


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the 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.



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     59

Adding Functionality to a View Controller and Its View     67

Working with Multiple Views and Controllers     71

Implementing a Custom UIView     75

Summary     80

Chapter 4 Common iOS Classes     81

User Interface Views and Controls    81

UISegmentedControl     81

UISlider    85

UISwitch     88

UIPageControl and UIScrollView     89

UIActivityIndicatorView     92

UIProgressView     94

UIImageView     95

UIWebView     97

ADBannerView     100

Device Capabilities    103

MFMailComposeViewController     103

MPMediaPickerController and MPMusicPlayerController     105

Address Book     108

UIImagePickerController    111

Summary     116

Chapter 5 Tables and Navigation    117

Introduction to UITableView and UITableViewController    117

What Are Tables Used For?     117

Displaying Data in a UITableView     119

UITableViewCell Parts and Styles     125

Using Tables and Navigation     128

Additional UITableView Customizations     144

Customizing Tables Further with Custom Cells    144

Adding Multiple Sections     148

MonoTouch.Dialog     153

Summary 155

Chapter 6 Graphics and Animation     157

Core Graphics     157

Core Graphics Fundamentals     157

Drawing Images     165

Drawing PDFs    170

Animation     180

UIView Animation     181

Core Animation    185

Summary     194

Chapter 7 Core Location     195

Introducing Core Location     195

Standard Location Service     197

Retrieving Heading Updates     207

Significant Location Changes     209

Region Monitoring    211

Background Location    214

Summary     216

Chapter 8 MapKit     217

Introducing MapKit     217

Adding Annotations     224

Map Overlays     233

Summary     240

Chapter 9 Connecting to Web Services    241

Connecting to REST-based Web Services     241

Connecting over HTTP     241

Parsing XML Results     244

Parsing JSON Results    247

Consuming SOAP-based Web Services     248

Using a .NET 2.0 Client Proxy    248

WCF under MonoTouch     250

Using CocoaTouch HTTP Classes     251

Using NSUrlConnection and Friends     252

Summary     254

Chapter 10 Networking     255

GameKit Networking     255

Core GameKit Networking Classes     255

Using GKPeerPickerController     264

GameKit Voice Chat    268

Bonjour    272

Summary    281

Chapter 11 Saving Application Data    283

The Notes Sample Application     283

SQLite     289

Serialization     295

Settings Bundle and NSUserDefaults     297

Summary     306

Chapter 12 iPad Development    307

Porting to iPad    307

iPhone Applications with Pixel Doubling    307

Universal Applications    308

Designing for the iPad     311

UISplitViewController     312

UIPopoverController    323

Summary     326

Index    327



About the Author :

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


Best Sellers


Product Details
  • ISBN-13: 9780131388307
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Series Title: Learning
  • Weight: 1 gr
  • ISBN-10: 0131388304
  • Publisher Date: 19 Jul 2011
  • Binding: Digital download
  • No of Pages: 360
  • Sub Title: A Hands-On Guide to Building iOS Applications with C# and .NET


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Learning MonoTouch: A Hands-On Guide to Building iOS Applications with C# and .NET(Learning)
Pearson Education (US) -
Learning MonoTouch: A Hands-On Guide to Building iOS Applications with C# and .NET(Learning)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

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

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!