Gestures
Last updated
Was this helpful?
Last updated
Was this helpful?
⟩ ⟩
⭐️
updates permanent view state whenever the value of the gesture changes.
⭐️
updates permanent view state when gesture successfully ends. (fires when a gesture successfully completes and receives its final value.)
, Ch. 17: Using Gestures
⟩ ⟩
⭐️
⟩
⟩ (protocol)
- update gesture state as gesture’s value changes.
- perform an action when gesture’s value changes.
⟩
問:「 與 到底有什麼差別❓」
答:「 更新 gesture states, 更新 view states。」