I gave a talk at the Swift Meetup in São Paulo focused on how to use heuristics in Swift to create more responsive and context-aware apps, especially across constrained environments like the Apple Watch.

ViewSpeakerDeck

The title of the talk was:
Heurísticas e Swift: do NSProcessInfo a um Shake no Apple Watch

The goal was to demonstrate how system APIs in iOS and watchOS can be combined to make lightweight runtime decisions, without relying on server logic or complex ML models.

Topics included:

  • Using NSProcessInfo to adapt behavior based on system load, thermal state, or battery level
  • Detecting motion and environmental changes via CoreMotion
  • Implementing a basic shake gesture on the Apple Watch and responding to it in Swift
  • General patterns for creating local heuristics that feel smart without being overengineered

SpeakerDeck:
https://speakerdeck.com/ezefranca/number-2-swift-meetup-sp-2017-heuristicas-e-swift-do-nsprocessinfo-a-um-shake-no-apple-watch