what's hot and new in ios5? - lars röwekamp

82
Lars Röwekamp | open knowledge GmbH iOS 5: What‘s new and hot? @mobileLarson @_openknowledge

Upload: open-knowledge-gmbh

Post on 15-May-2015

495 views

Category:

Technology


0 download

DESCRIPTION

iOS 5 bringt mehr als 200 neue Features und etwa 1.500 API Erweiterungen mit sich. Wer soll sich da noch auskennen? Die Session zeigt für viele der Neuerungen, wie diese auch von Entwicklern sinnvoll genutzt werden können. Das Notification Center und die iCloud kommen dabei ebenso zur Sprache, wie das vereinfachte Memory Management, die App Storyboards und vieles mehr. Lassen Sie sich überraschen.

TRANSCRIPT

Page 1: What's hot and new in iOS5? - Lars Röwekamp

Lars Röwekamp | open knowledge GmbH

iOS 5: What‘s new and hot?

@mobileLarson @_openknowledge

Page 2: What's hot and new in iOS5? - Lars Röwekamp

1.500+ neue APIs

Page 3: What's hot and new in iOS5? - Lars Röwekamp

iCloud Storage APIs

Page 4: What's hot and new in iOS5? - Lars Röwekamp

It‘s all about Synchronization

Page 5: What's hot and new in iOS5? - Lars Röwekamp

iCloud !Storage "

APIs

Create, Store & Share

Page 6: What's hot and new in iOS5? - Lars Röwekamp

iCloud !Storage "

APIs

Buy, Store & Share

Page 7: What's hot and new in iOS5? - Lars Röwekamp

>  „Single Place of Data (Sync)“ >  iCloud als „Mirror“ lokaler Daten > Änderungen wandern in die iCloud >  iCloud synchronisiert andere Devices >  Zusätzliche Sicherheit vor Datenverlust

> Document, Key-Value & Backup Storage

iCloud!

iOS 5: What‘s new & hot?

Page 8: What's hot and new in iOS5? - Lars Röwekamp

iCloud!

iOS 5: What‘s new & hot?

Page 9: What's hot and new in iOS5? - Lars Röwekamp

iCloud!

iOS 5: What‘s new & hot?

(Quelle: iCloud Design Guide)

Page 10: What's hot and new in iOS5? - Lars Röwekamp

> Was sind typische iCloud Use-Cases?

> Wie mach ich meine App „iCloud ready? > Was soll via iCloud „in sync“ sein? > Wann soll iCloud „sync“ erfolgen?

> Wo liegen die iCloud Pitfalls?

iCloud!

iOS 5: What‘s new & hot?

Page 11: What's hot and new in iOS5? - Lars Röwekamp

>  Synchronisation >  selbst erstellte/gekaufte Dokumente >  selbst erstellte/gekaufte Bilder/Videos >  selbst erstellte/gekaufte Musik

>  Synchronisation >  Preferences, Lesezeichen, App State

iCloud // Use Cases!

iOS 5: What‘s new & hot?

Page 12: What's hot and new in iOS5? - Lars Röwekamp

>  iCloud im Provisioning Portal aktivieren >  „enable for iCloud“ >  Provisioning Profile neu generieren

>  iCloud Berechtigungen setzen > Key-Value Store >  Storage Container(s)

iCloud // get ready for ...!

iOS 5: What‘s new & hot?

Page 13: What's hot and new in iOS5? - Lars Röwekamp
Page 14: What's hot and new in iOS5? - Lars Röwekamp
Page 15: What's hot and new in iOS5? - Lars Röwekamp
Page 16: What's hot and new in iOS5? - Lars Röwekamp
Page 17: What's hot and new in iOS5? - Lars Röwekamp

> Key-Value Store >  64 KB only >  Preferences via Objects (String, Font, ...) >  Favorites, Purchases via IDs

> Document Store >  File Coordinator & Storage Container(s)

iCloud // Sync me ...!

iOS 5: What‘s new & hot?

Page 18: What's hot and new in iOS5? - Lars Röwekamp

> Key-Value Storage – check first >  Add/Change/Remove Objects > Respond to Change Notifications

> Storage Container – check first >  Add/Change/Remove Documents > Respond to Change Notifications

iCloud // Programming!

iOS 5: What‘s new & hot?

Check first!

Page 19: What's hot and new in iOS5? - Lars Röwekamp
Page 20: What's hot and new in iOS5? - Lars Röwekamp

iOS 5: What‘s new & hot?

>  blah

iCloud > sync when?!

Demo!

Page 21: What's hot and new in iOS5? - Lars Röwekamp

>  Sorry, ich habe gar keine iCloud. >  Sorry, 5GB Limit. >  Sorry, Apps iCloud Settings sind „defekt“. >  Sorry, iCloud ist gerade nicht erreichbar. >  Sorry, App UX sucks!

> Content „Mirror“ nicht „Source“!!

iCloud // Pitfalls!

iOS 5: What‘s new & hot?

Page 22: What's hot and new in iOS5? - Lars Röwekamp

>  Sorry, habe ich auch gerade geändert. >  Sorry, Sync ist noch nicht fertig. >  Sorry, ich brauche mal ein wenig „Net“. >  Sorry, aber alles muss nicht in die Cloud.

>  It‘s all about sync – but done cool!!

iCloud // Sync Pitfalls!

iOS 5: What‘s new & hot?

Page 23: What's hot and new in iOS5? - Lars Röwekamp

Newsstand APIs

Page 24: What's hot and new in iOS5? - Lars Röwekamp

> Kein iBooks für Zeitschriften

>  iBook zeigt Content (ePub & Friends) > Newsstand verwaltet spezielle Apps

Newsstand!

iOS 5: What‘s new & hot?

Page 25: What's hot and new in iOS5? - Lars Röwekamp

> Newsstand Apps > werden via Bookshelf Folder verwaltet >  können Content im Background laden > Können Badge(s) aktualisieren >  können ihr App Icon on-the-fly ändern >  liegen im speziellen App Store Bereich

Newsstand!

iOS 5: What‘s new & hot?

Page 26: What's hot and new in iOS5? - Lars Röwekamp

> Was sind typische Use-Cases?

> Wie werde ich eine „Newsstand App“? > Wie publiziere ich eine neue Ausgabe? > Wie setze ich den Badge?

> Wo liegen die Newsstand Pitfalls?

Newsstand!

iOS 5: What‘s new & hot?

Page 27: What's hot and new in iOS5? - Lars Röwekamp

>  Sich regelmäßig ändernder* Content > Digitale Zeitschriften > Newsfeeds > Kataloge >  ...

Newsstand // Use Cases!

iOS 5: What‘s new & hot?

* max. 1x pro Tag

Page 28: What's hot and new in iOS5? - Lars Röwekamp

> Newstand in xCode aktivieren > Newsstand Kit einbinden > Newsstand Kit Metadata setzen

> Newstand in iTunes Connect aktivieren > Newsstand Option wählen > Default Image etc. setzen

Newsstand // Get ready for ...!

iOS 5: What‘s new & hot?

Page 29: What's hot and new in iOS5? - Lars Röwekamp

> Die Main Player des Newsstand Kit > NKLibrary > NKIssue > NKAssetDownload

Newsstand // Get ready for ...!

iOS 5: What‘s new & hot?

Page 30: What's hot and new in iOS5? - Lars Röwekamp

> DLT– don‘t load twice

> Check DLT > Neues Issue zur „Bibliothek“ hinzufügen > NSAssetDownload(s) erzeugen > Download starten inkl. LifeCycle Callbacks >  App Icon & Badge aktualisieren!

Newsstand // New issue ...!

iOS 5: What‘s new & hot?

Page 31: What's hot and new in iOS5? - Lars Röwekamp

> Bekanntgabe via Apple Push Notification!

>  via APNS oder Alternative!>  via JSON Message Format >  App muss sich für PNs registrieren >  App muss auf PNs reagieren!

Newsstand // New issue?!

iOS 5: What‘s new & hot?

Page 32: What's hot and new in iOS5? - Lars Röwekamp

> Become a Newsstand App >  App Side Work >  App Store Side Work

> New Issue available >  Push Notification & Badge Update >  Issue Download

Newstand // Demo!

iOS 5: What‘s new & hot?

Page 33: What's hot and new in iOS5? - Lars Röwekamp

>  App Side Work

Page 34: What's hot and new in iOS5? - Lars Röwekamp

>  App Side Work

Newsstand Content

Background Work

Page 35: What's hot and new in iOS5? - Lars Röwekamp

>  App Store Work

Page 36: What's hot and new in iOS5? - Lars Röwekamp

>  App Store Work

Page 37: What's hot and new in iOS5? - Lars Röwekamp

>  App Store Work

Page 38: What's hot and new in iOS5? - Lars Röwekamp

>  App Store Work

Page 39: What's hot and new in iOS5? - Lars Röwekamp

>  App Store Work

Page 40: What's hot and new in iOS5? - Lars Röwekamp

>  App Store Work

Page 41: What's hot and new in iOS5? - Lars Röwekamp

> UrbanAirship Work

Page 42: What's hot and new in iOS5? - Lars Röwekamp

> UrbanAirship Work

Page 43: What's hot and new in iOS5? - Lars Röwekamp

iOS 5: What‘s new & hot?

>  blah

iCloud > sync when?!

Demo!

Page 44: What's hot and new in iOS5? - Lars Röwekamp

>  Sorry, die Ausgabe kenne ich schon. >  Sorry, ich habe die PN verschlafen. >  Sorry, der Download dauert zu lang. >  Sorry, der Download wurde unterbrochen.

>  It‘s an App, not Content!

Newsstand // Pitfalls!

iOS 5: What‘s new & hot?

Page 45: What's hot and new in iOS5? - Lars Röwekamp

Twitter Integration

Page 46: What's hot and new in iOS5? - Lars Röwekamp

> Mehr als iOS Twitter API

> Accounts Framework >  Twitter Framework

Twitter Integration

iOS 5: What‘s new & hot?

Page 47: What's hot and new in iOS5? - Lars Röwekamp

>  „Single Sign on“ Feeling >  via OAuth Web Authentication

>  Twitter (ab iOS 5) >  Facebook (ab iOS 6) >  Sina´s Weibo (ab iOS 6)

Twitter Integration!

iOS 5: What‘s new & hot?

Page 48: What's hot and new in iOS5? - Lars Röwekamp

> Was sind typische Use-Cases?

> Was genau ist OAuth / Accounts? > Wie nutze ich Accounts in meiner App? > Was bringt das Twitter Framework? > Wo liegen die Pitfalls?

Twitter Integration!

iOS 5: What‘s new & hot?

Page 49: What's hot and new in iOS5? - Lars Röwekamp

> On Device Account Verwaltung > Mehrere Konten pro Service > Mehrere Clients pro Service/Konto

>  Eigene Twitter APP >  Twitter Anbindung aus eigener App >  ...

Twitter Integration // Use Cases!

iOS 5: What‘s new & hot?

Page 50: What's hot and new in iOS5? - Lars Röwekamp

Twitter Integration // Accounts!

iOS 5: What‘s new & hot?

(Quelle: iOS 5 Frameworks / Welch)

Page 51: What's hot and new in iOS5? - Lars Röwekamp

Twitter Integration // Accounts!

iOS 5: What‘s new & hot?

(Quelle: iOS 5 Frameworks / Welch)

Page 52: What's hot and new in iOS5? - Lars Röwekamp

Twitter Integration // Twitter !

iOS 5: What‘s new & hot?

> UITweetComposeView

Page 53: What's hot and new in iOS5? - Lars Röwekamp

Twitter Integration // Twitter !

iOS 5: What‘s new & hot?

>  TWRequest via performRequestWithHandler!

Page 54: What's hot and new in iOS5? - Lars Röwekamp

Twitter Integration // Twitter !

iOS 5: What‘s new & hot?

>  TWRequest via signedURLRequest!

Page 55: What's hot and new in iOS5? - Lars Röwekamp

> Account Framework >  Accounts abfragen >  Account verwenden

>  Twitter Framework >  Timeline abrufen >  Tweet senden

Twitter Integration // Demo!

iOS 5: What‘s new & hot?

Page 56: What's hot and new in iOS5? - Lars Röwekamp

>  Twitter Setup

Page 57: What's hot and new in iOS5? - Lars Röwekamp

>  Twitter Setup

Page 58: What's hot and new in iOS5? - Lars Röwekamp

> UITweetComposeView

Page 59: What's hot and new in iOS5? - Lars Röwekamp

>  TWRequest Help

Page 60: What's hot and new in iOS5? - Lars Röwekamp

>  TWRequest Help

Page 61: What's hot and new in iOS5? - Lars Röwekamp

>  Twitter 4 Mac Console

Page 62: What's hot and new in iOS5? - Lars Röwekamp

>  Twitter 4 Mac Console

Page 63: What's hot and new in iOS5? - Lars Röwekamp

iOS 5: What‘s new & hot?

>  blah

iCloud > sync when?!

Demo!

Page 64: What's hot and new in iOS5? - Lars Röwekamp

>  Sorry, ich habe gar kein Twitter >  Sorry, Char-Count funktioniert nicht >  Sorry, ich nutze Facebook >  Sorry, ich möchte mal testen

>  It‘s more than just a Twitter API!

Twitter Integration // Pitfalls!

iOS 5: What‘s new & hot?

Page 65: What's hot and new in iOS5? - Lars Röwekamp

xCode Storyboard

Page 66: What's hot and new in iOS5? - Lars Röwekamp

xCode Storyboard

Page 67: What's hot and new in iOS5? - Lars Röwekamp

> UI Design via „Malen-nach-Zahlen“ >  Scenes repräsentiert ViewController >  Segue repräsentiert Scene Transition > Relationship repräsentiert Connection

> UI Archiv für > UI Objekte, Connections, Transitions

Storyboard!

iOS 5: What‘s new & hot?

Page 68: What's hot and new in iOS5? - Lars Röwekamp

Storyboard!

iOS 5: What‘s new & hot?

Page 69: What's hot and new in iOS5? - Lars Röwekamp

iOS 5: What‘s new & hot?

Page 70: What's hot and new in iOS5? - Lars Röwekamp

iOS 5: What‘s new & hot?

>  blah

iCloud > sync when?!

Demo!

Page 71: What's hot and new in iOS5? - Lars Röwekamp

>  Sorry, ich steige hier nicht mehr durch >  Sorry, ich finde nix im Code wieder >  Sorry, aber das kann mir zu wenig

>  It‘s a help, not a miracle!

Twitter Integration // Pitfalls!

iOS 5: What‘s new & hot?

Page 72: What's hot and new in iOS5? - Lars Röwekamp

> UI Design via „Malen-nach-Zahlen“ > Neue Scene(s) einführen > Neue Segue(s) einführen

> UI Interaktion > Model Layer designen > Datenaustausch realisieren

Storyboard // Demo!

iOS 5: What‘s new & hot?

Page 73: What's hot and new in iOS5? - Lars Röwekamp

Automatic Reference Counting

Page 74: What's hot and new in iOS5? - Lars Röwekamp

iOS 5: What‘s new & hot? Automatic Reference Counting

LLVM 3.0 Compiler Feature

Page 75: What's hot and new in iOS5? - Lars Röwekamp

iOS 5: What‘s new & hot? Automatic Reference Counting

Page 76: What's hot and new in iOS5? - Lars Röwekamp

> Do not... >  call retain, release, autorelease, dealloc >  store Object Pointers in C structs >  cast Object/Non-Object Types directly >  use NSAutoreleasePool

ARC Golden Rules!

iOS 5: What‘s new & hot?

Page 77: What's hot and new in iOS5? - Lars Röwekamp

iOS 5: What‘s new & hot? Automatic Reference Counting

Page 78: What's hot and new in iOS5? - Lars Röwekamp

Just one more ...

Page 79: What's hot and new in iOS5? - Lars Röwekamp
Page 80: What's hot and new in iOS5? - Lars Röwekamp

Lars Röwekamp | open knowledge GmbH

iOS 5: What‘s new and hot?

@mobileLarson @_openknowledge

Page 81: What's hot and new in iOS5? - Lars Röwekamp

Lars Röwekamp | open knowledge GmbH

iOS 5: What‘s new and hot?

@mobileLarson @_openknowledge

Page 82: What's hot and new in iOS5? - Lars Röwekamp

Lars Röwekamp | open knowledge GmbH

iOS 5: What‘s new and hot?

@mobileLarson @_openknowledge