30
Introduction to MonoTouch C# on iOS Ash DCosta @SoftwareWeaver www.Ashvil.net

EastBay.NET - Introduction to MonoTouch

Embed Size (px)

DESCRIPTION

Introduction to MonoTouch presentation given to the EastBay.NET user group on Dec. 13th at Berkeley, CA

Citation preview

Page 1: EastBay.NET - Introduction to MonoTouch

Introduction to MonoTouch

C# on iOSAsh DCosta

@SoftwareWeaverwww.Ashvil.net

Page 2: EastBay.NET - Introduction to MonoTouch

About me• Founder and chief architect – Mobi Weave, Inc. • 20+ years experience in software with Intel, i2

Technologies, IdentityMine, i3Connect and Wells Fargo

Page 3: EastBay.NET - Introduction to MonoTouch

App Catalog

SharePoint on iOSMS BI on iOS

Page 4: EastBay.NET - Introduction to MonoTouch

What is MonoTouch?Platform to enable C#/.NET programs on the

iPad, iPhone and iPod Touch

Page 5: EastBay.NET - Introduction to MonoTouch

Dislike Objective-C

Page 6: EastBay.NET - Introduction to MonoTouch

Then you will love MonoTouch

Page 7: EastBay.NET - Introduction to MonoTouch

.NET on iOS

Page 8: EastBay.NET - Introduction to MonoTouch

How does this work

Native ARM Code via AOT and linking

CIL

Mono Librarie

s

Your Code

Page 9: EastBay.NET - Introduction to MonoTouch

AOT -> Link -> Binary

Links this together with the JIT-less runtime into a single native binary that can be signed

AOT compilation pre-generates the native code that the JIT would normally generate

from IL

MonoTouch uses Ahead-Of-Time compilation to produce a single statically compiled ARM

binary

Page 10: EastBay.NET - Introduction to MonoTouch

API Complete coverage of Apple iOS SDK

Close to .NET4 client profile (minus

Windows specific frameworks)

Super set of windows phone

7 .NET API

Binding API for Obj-C controls

Page 11: EastBay.NET - Introduction to MonoTouch

Memory Management

Retain - Release

Garbage

Collector

Page 12: EastBay.NET - Introduction to MonoTouch

IDE

Page 13: EastBay.NET - Introduction to MonoTouch

Xcode Integration

Page 14: EastBay.NET - Introduction to MonoTouch

Debugger

Page 15: EastBay.NET - Introduction to MonoTouch

Simulator

Page 16: EastBay.NET - Introduction to MonoTouch

Best Docs ever

Page 17: EastBay.NET - Introduction to MonoTouch

Settings

Page 18: EastBay.NET - Introduction to MonoTouch

DemoShake Maps

Page 19: EastBay.NET - Introduction to MonoTouch

Sharing CodeCross platform C# on iOS, Android, Windows, Windows

Phone

Page 20: EastBay.NET - Introduction to MonoTouch

Multi-Platform Architecture

Page 21: EastBay.NET - Introduction to MonoTouch
Page 22: EastBay.NET - Introduction to MonoTouch

Pub-Sub with TinyMessenger

TinyMessenger

UI Layer Subscriber

Business Layer

Publisher

Page 23: EastBay.NET - Introduction to MonoTouch

Cross Platform

Page 24: EastBay.NET - Introduction to MonoTouch

MonoTouch.Dialog

Page 25: EastBay.NET - Introduction to MonoTouch

MonoCross MVC

Page 26: EastBay.NET - Introduction to MonoTouch

MonoGame

MonoGame is an Open Source implementation of the Microsoft XNA 4 Framework.

Page 27: EastBay.NET - Introduction to MonoTouch

Getting Startedxamarin.com/monotouch

Page 28: EastBay.NET - Introduction to MonoTouch

Steps to first C# iOS app

Get a Mac

• Buy• Rent• Borrow

Download XCode

• From Mac App store

Download MonoTouch

• Run MT Installer

Write App

• Utilize C# expertise

Publish App

• Signup for iOS Developer program

• Buy MonoTouch

• Publish to App Store

Page 29: EastBay.NET - Introduction to MonoTouch

CreditsThanks to Xamarin and the Mono team

for an awesome productAlso thanks to MonoTouch evangelists for images

Page 30: EastBay.NET - Introduction to MonoTouch

Questions