Upgrade to Pro — share decks privately, control downloads, hide ads and more …

3D Touch

3D Touch

I gave a short internal talk at Nodes on 3D Touch and implementing it.

Date: 20 november 2014

Sample code: https://github.com/mariusc/3DTouch-Demo

Resources:
* iOS Human Interface Guidelines for 3D Touch - https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/3DTouch.html#//apple_ref/doc/uid/TP40006556-CH71-SW1)
* Getting Started with 3D Touch - https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/Adopting3DTouchOniPhone/
* 3D Touch Peek and Pop - http://useyourloaf.com/blog/3d-touch-peek-and-pop.html
* Adding 3D Touch Quick Actions - http://useyourloaf.com/blog/adding-3d-touch-quick-actions.html
* The Astonishing Powers and Mesmerizing Secrets of 3D Touch with Alexis Gallagher - https://realm.io/news/alexis-gallagher-3d-touch-swift/

Marius Constantinescu

November 20, 2015
Tweet

More Decks by Marius Constantinescu

Other Decks in Programming

Transcript

  1. 3

  2. Apple’s guidelines: » peeks are for preview » have a

    pop for every peek » no buttons in peek 6
  3. Apple’s guidelines: » use them for high-value tasks » don’t

    use them to improve navigation. » have title, subtitle and image 9
  4. 11

  5. Problems » you don’t know when you stop peeking. use

    viewWillDissapear() of the peeked viewController » can’t use peek and pop in storyboard when your cell is in a separate xib » make sure to handle location correctly for the source of the peek 13
  6. Resources » iOS Human Interface Guidelines for 3D Touch »

    Getting Started with 3D Touch ( includes sample code) » 3D Touch Peek and Pop » Adding 3D Touch Quick Actions » The Astonishing Powers and Mesmerizing Secrets of 3D Touch with Alexis Gallagher 14