4 ms·
Looks like the live reload is just for the optional XML used to lay out your components. So definitely not full live reload. Seems useful for styling iterati
by ryanschneider 9y ago
Looks like the live reload is just for the optional XML used to lay out your components. So definitely not full live reload. Seems useful for styling iteration but not so much for logic testing.
- TadeasKriz 9y agoYou are right, live reloading is just for the UI part. Swift doesn’t have the same dynamism ObjC had, so we can’t simply swap the implementation. We’ve tried Injection4Xcode (hope I got the name right), but it’s limited to ObjC only (or @objc Swift classes).
- tinus_hn 9y agoIt’s also a great way to be banned from the App Store since it isn’t allowed to change your app without Apple being able to review it first.
- TadeasKriz 9y agoYou can't change the binary, but you can change the app. But with Reactant, we compile the XML files containing the UI into native Swift when building in Release mode. We do that to remove any runtime overhead that would be added by parsing the XML and going through it to create the UI/layout.