29
3D \(FORCE) TOUCH Pedro van Rooij Costa iOS Software Engineer

TDC - 3D Touch

Embed Size (px)

Citation preview

3D \(FORCE) TOUCH Pedro van Rooij Costa iOS Software Engineer

3D \(FORCE) TOUCH Pedro van Rooij Costa iOS Software Engineer

O QUE É?

Empecilho para remoção de Apps

UI Multidimensional

Toques especiais

REQUISITOS

Xcode 7+ iPhone 6S ou 6S Plus iOS 9+

O QUE EU POSSO FAZER?

SHORTCUT ESTÁTICO

SHORTCUTS | SHORTCUT ESTÁTICO

No Máximo 4 Itens

Info.plist

SHORTCUT DINÂMICO

SHORTCUTS | SHORTCUT DINÂMICO

Adicionado via código

Pode conter qualquer informação relevante

Fica sempre acima dos shortcuts estáticos

“Compete" com os shortcuts estáticos

SHORTCUTS | SHORTCUT DINÂMICO

SHORTCUTS | SHORTCUT DINÂMICO

SHORTCUTS | TRATAMENTO

Chamada através do AppDelegate

Deve-se tratar app iniciando ou app voltando de background

É interessante editar o scheme para poder debugar.

SHORTCUTS | TRATAMENTO

SHORTCUTS | TRATAMENTO

App iniciando: Dois métodos chamados em sequência

App vindo de Background: Apenas um método

SHORTCUTS | TRATAMENTO

PEEK & POP

PEEK & POP

Funciona através de view controllers

UIViewControllerPreviewingDelegate

PEEK & POP | PEEK

Pré-visualizar uma tela

Pode conter ações associadas

Primeiro estágio do Peek & Pop

PEEK & POP | PEEK

PEEK & POP | POP

QUICK ACTIONS

PEEK & POP | QUICK ACTIONS

PERGUNTAS?

• @pedrovanrooij

[email protected]

OBRIGADO.

Big Brains Wanted

Join our team! Go to arctouch.com/brjobs

Visit our booth to win an Apple Watch.