~/talk

Hacking Rule Systems & State Machines with Apple's GameplayKit Framework

Talkat Swift India Conference 2019 · on Sunday, 2019-07-28· [ios]
slides:none on file

Shows how to use Apple’s GameplayKit (rules systems and state machines) beyond games to implement things like text validation or complex payment flows with many states and rules, aiming for improved readability, scalability and reusability. Includes concrete code examples and a GitHub repo demonstrating the approach.

AI-written summary · about

  1. 0:00Intro
  2. 0:43What does it solve?
  3. 1:45Introduction
  4. 2:05GKRuleSystem
  5. 3:45Wrapper
  6. 5:05Password Validator
  7. 5:46Extracting Result
  8. 6:52GKState Machine
  9. 7:58State Machine Example
  10. 10:10Combo
  11. 11:42Init State + Fraud Check System
  12. 15:14Reading the Result
  13. 16:37Other Usecases
  14. 18:11Advantages
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.