UIViews that update themselves when your data changes, like React.
Released on May 19th, 2016
Additions
viewDidInitialize()
, viewWillUpdate(newState, newProps)
, and viewDidUpdate()
to run code at special points in the lifetime of your view.
viewDidInitialize()
is called when your StateView
subclass is initialized and has received its initial state
and props
.viewWillUpdate(newState, newProps)
is called after your StateView
subclass receives new values in state
or props
and is about to update its subviews. This method is not called when your view is initialized.viewDidUpdate()
is called after your StateView
has updated its subviews after receiving new values in state
or props
. This method is not called when your view is initialized.Released on April 26th, 2016
Additions
Released on April 25th, 2016
Additions
StateKey
protocol. See the latest documentation for more information.Deprecations
StateKey
protocol.