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

Post on 15-May-2015

495 views 0 download

Tags:

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 of 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

1.500+ neue APIs

iCloud Storage APIs

It‘s all about Synchronization

iCloud !Storage "

APIs

Create, Store & Share

iCloud !Storage "

APIs

Buy, Store & Share

>  „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?

iCloud!

iOS 5: What‘s new & hot?

iCloud!

iOS 5: What‘s new & hot?

(Quelle: iCloud Design Guide)

> 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?

>  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?

>  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?

> 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?

> 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!

iOS 5: What‘s new & hot?

>  blah

iCloud > sync when?!

Demo!

>  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?

>  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?

Newsstand APIs

> Kein iBooks für Zeitschriften

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

Newsstand!

iOS 5: What‘s new & hot?

> 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?

> 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?

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

Newsstand // Use Cases!

iOS 5: What‘s new & hot?

* max. 1x pro Tag

> 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?

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

Newsstand // Get ready for ...!

iOS 5: What‘s new & hot?

> 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?

> 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?

> 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?

>  App Side Work

>  App Side Work

Newsstand Content

Background Work

>  App Store Work

>  App Store Work

>  App Store Work

>  App Store Work

>  App Store Work

>  App Store Work

> UrbanAirship Work

> UrbanAirship Work

iOS 5: What‘s new & hot?

>  blah

iCloud > sync when?!

Demo!

>  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?

Twitter Integration

> Mehr als iOS Twitter API

> Accounts Framework >  Twitter Framework

Twitter Integration

iOS 5: What‘s new & hot?

>  „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?

> 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?

> 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?

Twitter Integration // Accounts!

iOS 5: What‘s new & hot?

(Quelle: iOS 5 Frameworks / Welch)

Twitter Integration // Accounts!

iOS 5: What‘s new & hot?

(Quelle: iOS 5 Frameworks / Welch)

Twitter Integration // Twitter !

iOS 5: What‘s new & hot?

> UITweetComposeView

Twitter Integration // Twitter !

iOS 5: What‘s new & hot?

>  TWRequest via performRequestWithHandler!

Twitter Integration // Twitter !

iOS 5: What‘s new & hot?

>  TWRequest via signedURLRequest!

> Account Framework >  Accounts abfragen >  Account verwenden

>  Twitter Framework >  Timeline abrufen >  Tweet senden

Twitter Integration // Demo!

iOS 5: What‘s new & hot?

>  Twitter Setup

>  Twitter Setup

> UITweetComposeView

>  TWRequest Help

>  TWRequest Help

>  Twitter 4 Mac Console

>  Twitter 4 Mac Console

iOS 5: What‘s new & hot?

>  blah

iCloud > sync when?!

Demo!

>  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?

xCode Storyboard

xCode Storyboard

> 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?

Storyboard!

iOS 5: What‘s new & hot?

iOS 5: What‘s new & hot?

iOS 5: What‘s new & hot?

>  blah

iCloud > sync when?!

Demo!

>  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?

> 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?

Automatic Reference Counting

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

LLVM 3.0 Compiler Feature

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

> 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?

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

Just one more ...

Lars Röwekamp | open knowledge GmbH

iOS 5: What‘s new and hot?

@mobileLarson @_openknowledge

Lars Röwekamp | open knowledge GmbH

iOS 5: What‘s new and hot?

@mobileLarson @_openknowledge

Lars Röwekamp | open knowledge GmbH

iOS 5: What‘s new and hot?

@mobileLarson @_openknowledge