~/talk

Controlling tons of different IoT devices with Swift

Talkat Mobile Era 2018 · 2018-11-01..11-02· [ios, reactive-programming]
links:none on file
slides:none on file

A Swift SDK controls roughly 40 different ZigBee device types using a protocol‑driven request model with associated types called Requestable protocol and Reactive patterns via ReactiveSwift. Playgrounds in Xcode 10 host live demos and integration tests, the live demo works but remains experimental. Every network call can emit a curl output logging line for debugging, responses decode into model objects, services are easily mocked for tests, there are 100+ tests now and an estimated 600 tests needed to cover all device rules.

AI-written summary · about

  1. 0:00Introduction to IoT with Swift
  2. 1:04About the speaker and playgrounds
  3. 5:22Tips for using Swift playgrounds
  4. 10:25Building an IoT SDK with playgrounds
  5. 15:33SDK design and logging
  6. 18:48Refactoring and protocols
  7. 24:14Mocking and testing SDKs
  8. 25:22Live demo of IoT app
  9. 28:42Rules for IoT device control
  10. 31:08Automated testing for IoT rules
  11. 35:28Testing color control bulbs
  12. 40:49Key takeaways and Q&A
~/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.