Software Alternatives & Reviews

SwiftUI Is Convenient, but Slow

Lunar.fyi Volum
  1. Control monitor brightness, adapt using the ambient light sensor, adjust volume, switch inputs and turn off displays without fiddling with clunky buttons.
    Pricing:
    • Open Source
    • Freemium
    • Free Trial
    • $23.0 / One-off (Pro)
    Author here! Aside from Lunar (https://lunar.fyi/) all my apps over at https://lowtechguys.com/ are 100% SwiftUI. In my extensive experience, this is the only major disadvantage I found: UIs with hundreds of stylized elements can be too slow I suspect this happens especially because adding style to an element makes the graph deeper (e.g. Text(“”).shadow().colorInvert() means SwiftUI will add three function calls in the stack on each render pass) But if that case does not apply to your UI, the advantages are massive. For example my Volum [1] app works on iOS, iPadOS and macOS and because of SwiftUI it shares 95% of the code between platforms. That’s hard enough with other frameworks that I couldn’t even consider starting such a project before SwiftUI. [1] https://lowtechguys.com/volum.

    #Mac #Utilities #Productivity 77 social mentions

  2. 2
    Take control of those devices that don't have HomeKit, Alexa or Google Assistant support.
    Author here! Aside from Lunar (https://lunar.fyi/) all my apps over at https://lowtechguys.com/ are 100% SwiftUI. In my extensive experience, this is the only major disadvantage I found: UIs with hundreds of stylized elements can be too slow I suspect this happens especially because adding style to an element makes the graph deeper (e.g. Text(“”).shadow().colorInvert() means SwiftUI will add three function calls in the stack on each render pass) But if that case does not apply to your UI, the advantages are massive. For example my Volum [1] app works on iOS, iPadOS and macOS and because of SwiftUI it shares 95% of the code between platforms. That’s hard enough with other frameworks that I couldn’t even consider starting such a project before SwiftUI. [1] https://lowtechguys.com/volum.

    #Ios #Tech #Home 9 social mentions

Discuss: SwiftUI Is Convenient, but Slow

Log in or Post with