1.0.0 alpha 4
Pre-release
Pre-release
·
1213 commits
to master
since this release
New since alpha 3
DispatchTimeInterval
is now used in place ofTimeInterval
in APIs that would offsetDate
s. (#48, kudos to @liscio, @NachoSoto and @mdiep)- New
Action
initializer:Action(state:enabledIf:_:)
. (#22, kudos to @sharplet and @mdiep)- Create an
Action
from aProperty
with an availability predicate to be applied on the property. Note that the execution closure would be passed not only the input fromapply(_:)
, but also the latest property value observed by theAction
. - This new variant is recommended for modelling UI that has inputs to the
Action
that would affect the availability of theAction
.
- Create an
- New
Action
initializer:Action(input:_:)
. (#22)- Create an
Action
with aProperty
as its input.apply
would accept no input, but takes the latest value from the property instead. - If you supply a property of optional, the action is executed only if the input is not
nil
.
- Create an
Changed since alpha 3
ReactiveExtensionsProvider
now provide a staticreactive
for extensions to the type. (#70, kudos to @sharplet)- Fixed a bug in
SignalProducer.on
which caused the signal to be disposed of too early. (#80, kudos to @andersio and @ikesyo) - Restored
value
as the last parameter ofSignalProducer.on
. (#104, kudos to @dmcrodrigues) - Fixed two race conditions related to
interrupted
delivery inSignal
. (#123, kudos to @andersio and @NachoSoto) - Faster
Bag
. (#126, kudos to @andersio)
Acknowledgements
Kudos to @mdiep, @NachoSoto, @sharplet, @ikesyo and @andersio who helped review the pull requests. Kudos also to @iv-mexx, @morganchen12 and @Iyuna who helped update the documentation and the playgrounds.