{"repo":"NuPlay/AnimationKit","free":true,"listed":false,"github":"https://github.com/NuPlay/AnimationKit","clone":"git clone https://github.com/NuPlay/AnimationKit.git","description":"AnimationKit simplifies sequential animations in iOS and macOS apps with SwiftUI.","language":"Swift","stars":29,"topics":["swift","swiftui","animatable","animation-library","animations","ios","macos","swift-package-manager","ui-components"],"license":"MIT","category":"mobile-apps","readme_excerpt":"AnimationKit Swift Package Manager Usage When creating a simple view When using ForEach CustomAnimation You need to adopt the AnimatableStyle protocol. You can create a struct that adopts the protocol as shown below. You can modify the values of AnimationConfig as needed. Explanation of AnimatableStyle Variables Variable Type Description --------------------- ---------------------------- --------------------------------------------------------------------------------------------------------- opacity AnimationValue Defines the animation values for opacity. offsetX AnimationValue Defines the animation values for horizontal offset. offsetY AnimationValue Defines the animation values for vertical offset. rotation AnimationValue Defines the animation values for rotation. scale AnimationValue Defines the animation values for scaling. blur AnimationValue Defines the animation values for blur effect. delay Double Determines the delay before each animation starts. animation Animation Set to your desired animation type. maxAnimationCount Int Maximum number of animations to play. If set to 20, animations play up to the 20th item (index 19) according to the delay. The 21st and subsequent items will animate simultaneously with the 21st. This prevents excessive delays when animating large sets of data. For example, without this option, you would need to wait delay 99 seconds to see the 100th item. AnimationStyle Preset","default_branch":null,"files":null,"tree":[],"storefront":"/r/NuPlay","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NuPlay/AnimationKit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}