Lecture 8: Gestures JSON

in DTube6 years ago


Lecture 8 of Stanford’s iOS development course from Spring 2020 covers some persistence topics (UserDefaults API and JSON encoding/decoding) and the conceptual underpinnings of multi-touch gesture handling. We start adding these capabilities to EmojiArt by making its Model be convertible to/from JSON (using the Codable protocol) and then storing it (for now) in a lightweight storage vehicle. After that, pinch and drag gestures are added to EmojiArt to allow the user to zoom in and out and pan around in their document.


▶️ DTube

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.082
BTC 60783.65
ETH 1557.84
USDT 1.00
SBD 0.47