This repository has been archived by the owner on Jun 5, 2019. It is now read-only.
Releases: sahandnayebaziz/StateView
Releases · sahandnayebaziz/StateView
v2.0
v1.3
1.3
Released on May 19th, 2016
Additions
- You can now use
viewDidInitialize()
,viewWillUpdate(newState, newProps)
, andviewDidUpdate()
to run code at special points in the lifetime of your view.viewDidInitialize()
is called when yourStateView
subclass is initialized and has received its initialstate
andprops
.viewWillUpdate(newState, newProps)
is called after yourStateView
subclass receives new values instate
orprops
and is about to update its subviews. This method is not called when your view is initialized.viewDidUpdate()
is called after yourStateView
has updated its subviews after receiving new values instate
orprops
. This method is not called when your view is initialized.
v1.2
1.2
Released on May 15th, 2016
Additions
- The
renderDeep()
method of StateView is now public.
v1.1
1.1
Released on April 26th, 2016
Additions
- You can now keep instances of any type in props and state, and pass instances of any type between views. See the latest documentation for more information.
v1.0
1.0
Released on April 25th, 2016
Additions
- You can now pass values between views by naming them with an enum of your choice. With enums, the names you have chosen for your values are clearer to see together and can make use of Xcode's built-in autocomplete. To use an enum of your choice, create an enum that conforms to the
StateKey
protocol. See the latest documentation for more information.
Deprecations
- You can no longer name values being passed between views with Strings. Use an enum of your choice that conforms to the
StateKey
protocol.
CocoaPods Release Candidate 1
0.2 v0.2
v0.1 First Cocoapods push
Remove Dwifft from podspec dependencies