Ask HN: Web vs. Mobile Build Time/Time-To-Feedback
I'm a full-stack web and mobile developer who loves programming and making apps. I have a good amount of experience on both, but am newer to mobile dev.
Lately, I've been struggling with the compile time on iOS. E.g., If I implement a new animation feature or create a new model back by an API and want to experiment/tweak those features, I have to constantly rebuild my app which kills my flow. If I do something similar on the web (front-end or server-side), I see the changes immediately.
Does anyone have any tips for lowering the time-to-feedback for iOS development? Is there any tools that can help with it? Any things on the horizon that look promising in this regard? Do you have this issue?
Another note on this topic: 1) I've made some hybrid apps with Phonegap and really enjoyed the experience because I could live-reload while developing, but I find those apps don't feel the same as native apps.
Here are a few things that could help:
- Swift Playgrounds[1] can be extremely useful to experiment with little snippets of code.
- On the simulator, you can slow down the animations (command + T)
- Sometimes, I temporally add a UIButton to trigger the animation again...
The whole native vs. hybrid apps has been discussed extensively. As you noticed, among other things, hybrid apps are not as snappy as their native counterpart.
[1]https://developer.apple.com/swift/blog/?id=24