33
Jaime Rodriguez Eric Jeffers Sean McCune Building Windows Store Apps for iOS Developers Jump Start

Building Windows Store Apps for iOS Developers Jump Start

  • Upload
    elda

  • View
    40

  • Download
    0

Embed Size (px)

DESCRIPTION

Building Windows Store Apps for iOS Developers Jump Start. Jaime Rodriguez Eric Jeffers Sean McCune. Today’s instructors . Jaime Rodriguez, @ jaimerodriguez Principal Evangelist, Microsoft Eric Jeffers Developer/Instructor, Big Nerd Ranch - PowerPoint PPT Presentation

Citation preview

Page 1: Building Windows Store Apps for  iOS  Developers Jump Start

Jaime RodriguezEric Jeffers Sean McCune

Building Windows Store Apps for iOS Developers Jump Start

Page 2: Building Windows Store Apps for  iOS  Developers Jump Start

Today’s instructors

Jaime Rodriguez, @jaimerodriguez Principal Evangelist, Microsoft

Eric Jeffers Developer/Instructor, Big Nerd Ranch

Sean McCune, @bnrsean Developer/Instructor, Big Nerd Ranch

Page 3: Building Windows Store Apps for  iOS  Developers Jump Start

Q&A Experts

Matthias Shapiro - @matthiasshap Microsoft Windows & Windows Phone Evangelist

Ben Riga- @benriga Microsoft Windows & Windows Phone Evangelist

Page 4: Building Windows Store Apps for  iOS  Developers Jump Start

Course TopicsBuilding Windows Store Apps for iOS Developers Jump Start01 | Introduction to the Windows Store Platform and the tools

02 | C# for Objective-C developers

03 | Async programming & Networking intro

Meal Break, around noon PST 45 to 60 mins

04 | Introduction to XAML & UI Patterns for XAML apps

05 | App Model & Storage

06 | Contracts

07 | Notifications

08 | Windows Store APIs

Page 5: Building Windows Store Apps for  iOS  Developers Jump Start

• Microsoft Virtual Academy– Free online learning tailored for IT Pros and Developers – Over 1.2M registered users– Up-to-date, relevant training on variety of Microsoft

products• “Earn while you learn!” – Get 50 MVA Points for this event!– Visit http://aka.ms/MVA-Voucher – Enter this code: iOSJS (expires 8/18/2013)

Join the MVA Community!

Page 6: Building Windows Store Apps for  iOS  Developers Jump Start

Platform for buildingWindows Store AppsJaime Rodriguez@jaimerodriguez

Page 7: Building Windows Store Apps for  iOS  Developers Jump Start

Windows 8 reimagined demo

Page 8: Building Windows Store Apps for  iOS  Developers Jump Start

Windows Store apps

Available via Windows Store Run on myriad of devices runningWindows 8 and Windows RT

Page 9: Building Windows Store Apps for  iOS  Developers Jump Start

Device continuum….

Tablet Phone Desktop

Apple

Microsoft

Mac OS X iOS

Windows Phone

Cocoa or Cocoa Touch + Objective-C + Open GL ES

XAML + C# | VB | C++ + Direct X

Windows 8 + Windows Store

Page 10: Building Windows Store Apps for  iOS  Developers Jump Start

Windows 8 PlatformWindows Store Apps

HTMLJavaScri

pt

CC++

C#VB

Desktop Apps

Win32

.NET / SL

Internet Explore

r

Communication

& DataApplication Model

Devices & Printing

WinRT APIsGraphics &

Media

Syst

em S

ervi

ces

JavaScript(Chakra)

CC++

C#VB

XAML HTML / CSSView

Mod

el

Cont

rolle

r

Windows Core OS ServicesCore

Page 11: Building Windows Store Apps for  iOS  Developers Jump Start

Windows Run-time (WinRT)

Page 12: Building Windows Store Apps for  iOS  Developers Jump Start

Windows 8 APIsUser interface

Fundamentals

Devices Graphics and media Communications and data

ServicesGeo-

location

Proximity

Direct3D Direct2D Direct Write

PlayTo

Contracts

Bing

Azure Mobile

HTML5/CSS XAMLInput Controls

Authentication

Portable

Sensors Playback Capture

Printing

SVGCanvas

Local storage SMS

Streams Background transfer

Syndication

Networking

XML and JSON

Skydrive

Live tiles and toastAccessibility Data binding

Application services

Threading/timers

Memory management Globalization Cryptography

Xbox Live

Page 13: Building Windows Store Apps for  iOS  Developers Jump Start

Windows 8.1 new APIsUser interface

Fundamentals

Devices Graphics and media Communications and data

ServicesGeo-

location

Proximity

Direct3D Direct2D Direct Write

PlayTo

Contracts

Bing

Azure Mobile

HTML5/CSS XAMLInput Controls

Authentication

Bluetooth

USB

HID WiFi direct

Point of service

3Dprinting Scanning

WebGL

HTTP

Contacts

Appoint-ments

PDF

Speech synthesis

Diagnostics

Portable

Sensors Playback Capture

Printing

SVGCanvas

Local storage SMS

Streams Background transfer

Syndication

Networking

XML and JSON

Skydrive

Live tiles and toastAccessibility Data binding

Application services

Threading/timers

Memory management Globalization Cryptography

Xbox Live

Page 14: Building Windows Store Apps for  iOS  Developers Jump Start

Language projectionsdemo

Page 15: Building Windows Store Apps for  iOS  Developers Jump Start

Language projections

WindowsRuntime

Object(or Component)

Writtenin C++, C#, VB

Windows Metadata

C++ AppProjection

CLRC#/VB AppProjecti

onHTML AppChakra

Projection

Page 16: Building Windows Store Apps for  iOS  Developers Jump Start

Camera Capture Projections CameraCaptureUI^ dialog = ref new CameraCaptureUI();dialog->CaptureFileAsync(CameraCaptureUIMode::Photo);

CameraCaptureUI dialog = new CameraCaptureUI();dialog.CaptureFileAsync(CameraCaptureUIMode.Photo);

var dialog = new Windows.Media.Capture.CameraCaptureUI();dialog.captureFileAsync(Windows.Media.Capture.CameraCaptureUIMode.photo)

Page 17: Building Windows Store Apps for  iOS  Developers Jump Start

Traits of a great Windows Store App

Leverage Microsoft design

Be Fast and fluid

Snap and scale beautifully

Use the right contracts

Invest in a great Tile

Feel connected and alive

Roam to the cloud

Embrace Microsoft design principles

Page 18: Building Windows Store Apps for  iOS  Developers Jump Start

UX must-read/watch list Eight traits of a great Windows Store app

http://channel9.msdn.com/Events/BUILD/BUILD2011/BPS-1004 Jensen Harris, Microsoft

Designing User Interfaces for Windows http://channel9.msdn.com/Events/Build/2013/2-168 Paul Gusmorino, Moneta Ho Jushner

Design differences between iOS and Windows 8 http://channel9.msdn.com/Events/Build/2013/2-004, Bart Claeys, Ratio Interactive

Page 19: Building Windows Store Apps for  iOS  Developers Jump Start

Choosing a presentation stack

Page 20: Building Windows Store Apps for  iOS  Developers Jump Start

HTML/Javascript • Standards-

based

• Native API access

• WinJS

WinRT

JavaScriptHTML / CSS

Core

Page 21: Building Windows Store Apps for  iOS  Developers Jump Start

Direct X• For graphic

intensive apps

• Closest to OpenGL

• Foundation for gaming frameworks

WinRTC++, C#Direct X

Core

Chimpact

Page 22: Building Windows Store Apps for  iOS  Developers Jump Start

XAML • Closer to

Cocoa Touch

• XAML integrates with DirectX

WinRT

C#, C++, VBXAML

Core

Today’s special!

Page 23: Building Windows Store Apps for  iOS  Developers Jump Start

Take-Away: Windows Store appsRun on Windows & Windows RT (ARM)

Distributed via store

Leverage Microsoft Design Language

Lots of choice on UI and programming language

One run-time: Windows Runtime (aka WinRT)

Page 24: Building Windows Store Apps for  iOS  Developers Jump Start

Q&A

Page 25: Building Windows Store Apps for  iOS  Developers Jump Start

Tools & Pre-requisites Jaime Rodriguez @jaimerodriguez

Page 26: Building Windows Store Apps for  iOS  Developers Jump Start

Setup/Pre-requisites DevelopWindows 8+ Visual Studio 2012+ Microsoft Account

SubmitWACK Store Developer Account

Dev Center downloads App portal

Page 27: Building Windows Store Apps for  iOS  Developers Jump Start

Visual Studio ‘flavors’ Visual Studio Express is FREE

Everything you need to write a great Windows store app is included here

Visual Studio has Professional, Premium, Ultimate Unit testing frameworks and automation tools Code coverage analysis Agile project management tools Team Foundation Server ( source control and ALM )

90-day trials and lots of programs to get it for very low cost (often free)

Page 28: Building Windows Store Apps for  iOS  Developers Jump Start

Windows 8.x on Apple hardwareBootcamp Virtualization

Parallels VMWare Virtual box

http://msdn.microsoft.com/en-US/library/windows/apps/jj945492

Page 29: Building Windows Store Apps for  iOS  Developers Jump Start

Running Windows 8 on Apple hardware ~40 GB disk partition 4 GB memory (recommended, 2GB works)

Install the tools (parallels, VMWare) Avoid hyper-v option if not coding for

phone Setup your key bindings, short cuts Multi-monitor or high-res monitor helps

Page 30: Building Windows Store Apps for  iOS  Developers Jump Start

Theme, F1, F12, Go-to-definition, debugger, simulator, solution explorer, editor, object browser, intellisense, Find All references, key bindings, F5,F6

demoVisual Studio

Page 31: Building Windows Store Apps for  iOS  Developers Jump Start

In-between versions today… VS2012 for building Windows 8.0 apps

VS2013 for building Windows 8.1 apps Non-Express SKUs can open 8.0 projects and support them

SKUs work side-by-side

Page 32: Building Windows Store Apps for  iOS  Developers Jump Start

Tools getting started tips…1. Check out the iOS developer resources

http://msdn.microsoft.com/library/windows/apps/jj945493

2. Download the samples from DevCenterhttp://code.msdn.microsoft.com/windowsapps

3. Spend time in the design guidelineshttp://msdn.microsoft.com/library/windows/apps/hh770552

Page 33: Building Windows Store Apps for  iOS  Developers Jump Start

Q&A