- Fixed some retain cycles that were holding on to target objects
- Updated examples project
- Support for Swift 5.0
- Updated syntax in MotionOptions for newer Swift naming conventions
- Updated Swift package file to newest version, requires Xcode 11 to import
- Bumped version to 2.0.0 due to breaking change in MotionOptions (Swift Package Manager requires packages use semantic versioning)
- Support for Swift 4.2
- fixed bugs which prevented some CGStructs from being updated when using
Motion
’s statesForProperties convenience initializer - added targetsNestedStruct static method to
CGStructAssistant
, which determines whether a specified keyPath targets a struct of a CGRect - added and improved tests
- improved readability and streamlined some code
- renamed Classes directory to Sources
- miscellaneous package changes
- Refactored the "finalState" convenience initializer for the Motion class to now take an Array of
PropertyStates
objects. This allows you to provide both starting and ending representational value objects for easy animation properties creation. Most of theValueAssistant
objects had significant updates to support this. - A new "buildPropertyData(fromObject: AnyObject, propertyStates: [PropertyStates])" public method has been added to the
Motion
class, which creates and returns an array ofPropertyData
objects. This method is used in conjunction with the above convenience initializer, but can be called ad hoc to generatePropertyData
objects from a set of state objects you pass in. - Bugfix:
ValueAssistant
s now won't exclude properties from being created when the ending value is the same as the object's original value, but the specified starting value is different. - Minor updates for Swift 4 compatibility. The Examples and Tests projects now target Swift 4.
- Updated tests, and additional test coverage for
ValueAssistant
classes.
Support for Swift 4.0.
Fixes for compiler warnings and deprecations.
Support for Swift 3.0.
Initial release