SwiftyStateMachine v0.3.0 Release Notes

Release Date: 2016-04-02 // about 8 years ago
    • โšก๏ธ Updated to Swift 2.2 (Xcode 7.3).
    • ๐Ÿฑ Made references to class-based subjects weak. This helps to remove subject-machine reference cycles, but it also means you have to keep a strong reference to a subject somewhere else (which you usually already do). When subject references become nil, transitions are no longer performed. Thanks to @bartekchlebek for work on this issue! ๐Ÿ‘
    • โž• Added default DOTLabel implementation (return "\(self)"). You don't have to change anything. If you have custom DOTLabel implementations, you can keep using them, but if the only thing you do is case Foo: return "Foo", you can safely delete this code.
    • ๐Ÿ“‡ Renamed StateMachine<T> to StateMachine<Schema>.

Previous changes from v0.2.0

    • ๐ŸŽ #2: Changed StateMachine into a class (was a struct).
    • ๐Ÿš€ #5: Lowered the minimum deployment targets to iOS 8.0 and OS X 10.9.
    • ๐ŸŽ #6: Added support for CocoaPods.