Re:Reactant is a new native framework for iOS
by ryanschneider on Friday September 29, 2017 @03:01PM
(#15368138)
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.
[ Parent
| on HN ]
Re:Reactant is a new native framework for iOS
by TadeasKriz on Friday September 29, 2017 @06:58PM
(#15369980)
You 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).
Re:Reactant is a new native framework for iOS
by tinus_hn on Saturday September 30, 2017 @07:45AM
(#15372405)
It’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.
Re:Reactant is a new native framework for iOS
by TadeasKriz on Saturday September 30, 2017 @01:27PM
(#15373930)
You 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.