Mimicking Apple's 3D touch on hardware that doesn't have it.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Libraries
Pseudo3DTouch.xcodeproj
Pseudo3DTouch
.gitignore
.gitmodules
Getting Ahead Of The Curve NSSpain 2015.pdf
PDPseudo3DTouchGestureRecognizer.h
PDPseudo3DTouchGestureRecognizer.m
README.md

README.md

PDPseudo3DTouchGestureRecognizer

Disclaimer: PS don't break your screen pls :)

A yolo implementation of a 3D gesture recognizer using UITouch's -majorRadius property for comparing the differences in touch radii.

Definitely not prime for shipping I wrote it just for demo purposes, but it's fun to mess with. Use it to get a feel for how 3D touch will be! :D

Was built for my presentation at NSSpain 2015, so be sure to check out my talk when it's posted! :D

Also, it's not super amazingly accurate, but it gets the job done. Helps sometimes to change the angle of your thumb or finger when pressing harder.

Depth values scale from 1 -> infinity, the scale isn't really unbound.

Example includes a bouncing circle with pseudo "taptic feedback" based on how hard you press the screen.

How do I compile?

Xcode pretty much.

License?

Pretty much the BSD license, just don't repackage it and call it your own please!

Also if you do make some changes, feel free to make a pull request and help make things more awesome!

Contact Info?

Feel free to follow me on twitter: @b3ll!