Quoi de neuf dans iOS 10.3

Post on 22-Jan-2018

3.015 views 0 download

Transcript of Quoi de neuf dans iOS 10.3

QUOI DE NEUF DANS IOS 10.3 ?

COCOAHEADS PARIS

Julien Quéré

http://sinplicity.fr @juli1quere

▸ Icônes alternatives

▸ APFS

▸ Store review controller

▸ En vrac

QUOI DE NEUF DANS IOS 10.3 ?

ICÔNES ALTERNATIVES

ICÔNES ALTERNATIVES

QUELQUES LIMITATIONS

▸ Icônes statiques et définies à l’avance

▸ Contrôlées lors de l’AppStore review

▸ L’utilisateur est alerté

DEMOICÔNES ALTERNATIVES

ICÔNES ALTERNATIVES

INFO.PLIST <key>CFBundleIcons</key> <dict> <key>CFBundleAlternateIcons</key> <dict> <key>de</key> <dict> <key>CFBundleIconFiles</key> <array> <string>ic_de</string> </array> <key>UIPrerenderedIcon</key> <false/> </dict> <key>fr</key> <dict> <key>CFBundleIconFiles</key> <array> <string>ic_fr</string> </array> <key>UIPrerenderedIcon</key> <false/> </dict> <key>it</key> <dict> <key>CFBundleIconFiles</key> <array> <string>ic_it</string> </array> <key>UIPrerenderedIcon</key> <false/> </dict> </dict> <key>CFBundlePrimaryIcon</key> <dict> <key>CFBundleIconFiles</key> <array> <string>ic_none</string> </array> </dict> </dict>

<key>fr</key> <dict> <key>CFBundleIconFiles</key> <array> <string>ic_fr</string> </array> <key>UIPrerenderedIcon</key> <false/> </dict>

<key>CFBundlePrimaryIcon</key> <dict> <key>CFBundleIconFiles</key> <array> <string>ic_none</string> </array> </dict>

<key>CFBundleAlternateIcons</key>

ICÔNES ALTERNATIVES

UIApplication.shared.alternateIconName

CONNAITRE L’ICÔNE ACTUELLE

DÉMO COMPLETEhttps://github.com/juli1quere/ios10.3-alternateicon-demo

CHANGER L’ICÔNEUIApplication.shared.setAlternateIconName(iconName) { (error) in if let error = error { print("err: \(error)") } else { print("Icon changed ! 🎉") } }

APFS

APFS

FONCTIONALITÉS

▸ Snapshots

▸ Chiffrement

▸ Crash protection

▸ Clones copy

APFS

CLONES COPY

~/mockups_final.sketch

DISK

~/mockups_final.sketch

~/mockups_final_V2.sketch

APFS

CONCRÈTEMENT ?

▸ Migration transparente et sécurisée

▸ Gain de 10 à 15 secondes au boot

▸ Impact sur le code: aucun :)

STORE REVIEW CONTROLLER

DEMOSTORE REVIEW CONTROLLER

STORE REVIEW CONTROLLER

MISE EN PLACE

import StoreKit

SKStoreReviewController.requestReview()

STORE REVIEW CONTROLLER

POUR ALLER PLUS LOIN …

▸ L’affichage n’est pas garanti

▸ Limité à 3 demandes par an

▸ Ne s’affiche plus après une review

▸ Désactivable sur tout le système

▸ Aucun feedback

▸ Deviendra obligatoire

STORE REVIEW CONTROLLER

BONUS

▸ URL d’accès direct au formulaire de reviewlet url = URL(string:"https://itunes.apple.com/app/id618783545?action=write-review") UIApplication.shared.open(url!)

▸ Rétrocompatible

DEMO

EN VRAC

EN VRAC

▸ Réponses aux commentaires sur le store

▸ La keychain n’est plus persistante

▸ Quelques avancées sur XCTests

▸ La fin du support de Swift 2.3

VOULEZ VOUS EN SAVOIR PLUS ?▸ iOS 10.3 Alternate Icons: what can you do and how it

works ? https://goo.gl/10pHaB

▸ WWDC16: Introducing Apple File System - https://goo.gl/CBVwyA

▸ Daring Fireball: Additional Details on the New App Store Review Features - https://goo.gl/uBvvLB

▸ Aadam Leventhal APFS in Detail - https://goo.gl/LfGUpK

▸ Youtube: iOS 10.3 - The importance of APFS for boot speed - https://goo.gl/gOw9Hq

DES QUESTIONS ?

▸@juli1quere

▸ julien@sinplicity.fr

▸ http://sinplicity.fr