LOSTMOA Blog

  • Using KeyPaths to Drive Programmatic Focus

    The new focus API in iOS 15 is very nice. I have found using KeyPaths for settings and responding to focus changes is a helpful shortcut and avoids the additional boilerplate of defining a custom focus enum for every View.

    Read more
  • Using the GPU for custom function evaluation without writing a metal shader.

    Sometimes our apps contain some heavy arithmetic work that would be ideal to run in parallel on our users GPUs. But we don't want to bother learning and implementing them in Metal. MPSGraph might give you the tools you need to evaluate your functions on the GPU without needing to pick up Metal.

    Read more