MonoTouch 5.2 Introduction

29
An Introduction to MonoTouch 5.2 Mobile App Development Platform for iOS http://xamarin.com/

Transcript of MonoTouch 5.2 Introduction

Page 1: MonoTouch 5.2 Introduction

An Introduction to

MonoTouch 5.2Mobile App Development Platform

for iOS

http://xamarin.com/

Page 2: MonoTouch 5.2 Introduction

Introducing MonoTouch 5.2 from Xamarin

1. Who is Xamarin?2. MonoTouch and Mono for Android Overview 3. MonoTouch 5.24. Differentiators 5. Customers & Case Studies6. Summing Up

More Info: http://xamarin.com/

Copyright 2012 © Xamarin Inc., All rights reserved

Page 3: MonoTouch 5.2 Introduction

Xamarin Company Snapshot Founded in 2011 with the mission to make it fast, easy and fun to build great mobile

apps.

Xamarin’s products: MonoTouch, Mono for Android Simplify creation, maintenance and operation of high-performance, cross-platform,

native UX mobile applications Phones, tablets and embedded devices - iOS, Android and Windows

Xamarin stewards the Mono project: open source, cross-platform implementation of C# / .NET framework

Unique, customer-proven technology: 500 developers download/day on average Enterprise: 3M, Medtronic, Target, TIBCO, etc. Consumer: AOL, iCircuit, Monster, Rdio, etc. Consultants / SIs: Accenture, ITR Mobility, etc.

Copyright 2012 © Xamarin Inc., All rights reserved

Page 4: MonoTouch 5.2 Introduction

MONOTOUCH AND MONO FOR ANDROID

Page 5: MonoTouch 5.2 Introduction

MonoTouch and Mono for Android

Copyright 2012 © Xamarin Inc., All rights reserved

Page 6: MonoTouch 5.2 Introduction

Native API Access - iOS

1,700 C# classes 1:1 mapping to native Objective-C libraries CoreFoundation iOS C libraries

Projected into C# Strongly typed C# Events/Properties Surface Lambdas

User Code

MonoTouch.*

ObjC Libraries

C Libraries

OpenTK

OpenGL and

OpenAL Stacks

System.*

Unix APIs

Copyright 2012 © Xamarin Inc., All rights reserved

Page 7: MonoTouch 5.2 Introduction

Native API Access - Android

4,000 C# classes 1:1 mapping to native Java libraries OpenGL Android C Libraries

Projected into C# Strongly typed Enumerations C# Events/Properties Surface Lambdas

User Code

C# Android.*

Java Android.*

C Libraries

OpenTK

OpenGL Stacks

System.*

Unix APIs

Copyright 2012 © Xamarin Inc., All rights reserved

Page 8: MonoTouch 5.2 Introduction

Mono on Mobile

C# and its libraries on Mobile Devices Garbage Collection Strongly typed objects High performance

Strong Typing: Intellisense Helps explore the API from the IDE

Copyright 2012 © Xamarin Inc., All rights reserved

Page 9: MonoTouch 5.2 Introduction

Xamarin.* APIs

Xamarin Mobile

Cont

acts

Geo

Loca

tion

Phot

os +

Vi

deo

Audi

o

Noti

ficati

ons

Cras

h Re

porti

ng

Most of the differentiation happens in the UI Some platform APIs do not bring much value (sometimes they’re not great APIs) Xamarin.Mobile is an extra layer to isolate developers from the platform.

Copyright 2012 © Xamarin Inc., All rights reserved

Page 10: MonoTouch 5.2 Introduction

Xamarin Cross-Platform Apps

Copyright 2012 © Xamarin Inc., All rights reserved

Page 11: MonoTouch 5.2 Introduction

Apps Showcase: http://xamarin.com/apps

Copyright 2012 © Xamarin Inc., All rights reserved

Page 12: MonoTouch 5.2 Introduction

MONOTOUCH 5.2

Page 13: MonoTouch 5.2 Introduction

MonoTouch 5.2 – Key Features

Faster and easier creation of iPhone/iPad Dialogs

Improved memory management to find, diagnose and fix memory leaks

New garbage collection engine

Easier on-device unit testing

Copyright 2012 © Xamarin Inc., All rights reserved

Page 14: MonoTouch 5.2 Introduction

MonoTouch 5.2 – Faster Dialogs

Faster and easier creation of iPhone/iPad Dialogs MonoTouch.Dialog is a new API that allows

developers to create HIG-compliant iOS forms and dialog boxes

Shows table-based information without needing to write dozens of delegates and controllers for the user interface

Includes UITableView support and pull-to-refresh as well as built-in searching

Creates user interfaces dynamically on demand from JSON data served up online

More Info: MonoTouch.Dialog tutorial and browse the online API documentation.

Copyright 2012 © Xamarin Inc., All rights reserved

Page 15: MonoTouch 5.2 Introduction

MonoTouch 5.2 – Memory Mgmt.

Improved memory management to find, diagnose and fix memory leaks New MonoTouch memory profiler

Track managed objects’ memory usage growth Track which objects are still referenced Track where objects are being referenced from

Generational garbage collector Improves garbage collection diagnostics

More info: New MonoTouch memory profiler and Generational garbage collector

Copyright 2012 © Xamarin Inc., All rights reserved

Page 16: MonoTouch 5.2 Introduction

MonoTouch 5.2 – Unit Testing

Easier on-device unit testing Touch.Unit

New unit testing framework to perform on-device testing of individual functions and procedures in MonoTouch applications

Run tests manually, or automate them with Instruments

More info: Tutorial on Unit Testing in MonoTouch

Copyright 2012 © Xamarin Inc., All rights reserved

Page 17: MonoTouch 5.2 Introduction

MonoTouch 5.2 – Additional Capabilities

300+ customer requested enhancements that make it easier to develop great iOS applications.

A full listing of new features and capabilities can be viewed from here: http://blog.xamarin.com/

Copyright 2012 © Xamarin Inc., All rights reserved

Page 18: MonoTouch 5.2 Introduction

MONOTOUCH DIFFERENTIATORS

Page 19: MonoTouch 5.2 Introduction

Differentiators

Harness the full power of C# and .NET.

Write shorter, simpler, and more maintainable code

Use features like LINQ, anonymous types, lambdas and more.

Copyright 2012 © Xamarin Inc., All rights reserved

Page 20: MonoTouch 5.2 Introduction

Differentiator: Less Code! Faster, easier, less expensive maintenance

Objective C

Copyright 2012 © Xamarin Inc., All rights reserved

Page 21: MonoTouch 5.2 Introduction

C#

Copyright 2012 © Xamarin Inc., All rights reserved

Differentiator: Less Code! Faster, easier, less expensive maintenance

Page 22: MonoTouch 5.2 Introduction

CUSTOMERS & CASE STUDIES

Page 23: MonoTouch 5.2 Introduction

Xamarin Customers

600+ new developers each dayAmazing apps: http://xamarin.com/apps

Copyright 2012 © Xamarin Inc., All rights reserved

Page 24: MonoTouch 5.2 Introduction

Xamarin Customers

Medtronic mStar Application

Integrate to back-end systems Sales orders Product registration

“The mStar application automates manual processes and makes them

available 24/7 for the reps”

Jeff Bipes, IT Manager, Field Services

.

Copyright 2012 © Xamarin Inc., All rights reserved

Page 25: MonoTouch 5.2 Introduction

Xamarin Customers

JustEnough Mobile SFA for NetSuite

Fully integrated to NetSuite Provides field sales teams instant access

to opportunity and customer data, sales forecasts and real-time calendar and task management.

“Using .NET on the iPad is like a dream come true”

Johan Otto, VP Mobile Development

Copyright 2012 © Xamarin Inc., All rights reserved

Click image to play video

Page 26: MonoTouch 5.2 Introduction

http://xamarin.com/

SUMMING UP

Page 27: MonoTouch 5.2 Introduction

Xamarin & MonoTouch - Summing Up

Leading mobile app development technology 500+ new developers each day

Solving cross-platform mobile app development problems for customers Reduce development time, complexity and cost Improve mobile app quality, stability and performance

Unique, customer-proven technology and capabilities C# and .NET mobile app development for phones, tablets and

embedded devices running, iOS, Android and Windows

Copyright 2012 © Xamarin Inc., All rights reserved

Page 28: MonoTouch 5.2 Introduction

More online• xamarin.com/apps• xamarin.com/monotouch• xamarin.com/android• docs.xamarin.com• blog.xamarin.com• youtube.com/xamarinhq• twitter.com/xamarinhq• linkedin.com/company/xamarin • stackoverflow.com/questions/tagged/mono

Page 29: MonoTouch 5.2 Introduction

An Introduction to

MonoTouch 5.2Cross-Platform Mobile App Development

Targeting iOS

http://xamarin.com/