Lottie
SnapKit
Lottie | SnapKit | |
---|---|---|
12 | 12 | |
25,257 | 19,797 | |
1.5% | 0.3% | |
8.6 | 5.2 | |
3 days ago | 15 days ago | |
Swift | Swift | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Lottie
- Lottie from Airbnb – iOS library to render After Effects vector animations
-
Are Animated JSON and Lotties suitable in functional web development?
Lottie still has a lot of support (backed by Airbnb) and just got a big performance upgrade on iOS. However, there are competitors cropping up (like Rive) with the aim to be more lightweight and not tied to After Effects.
- "progress indicator" animation
-
Cracking the iOS Interview
Lottie - After Effects vector animations
-
Binding Lottie (or any other Swift framework with UI) in MAUI
When I wrote my app which needed Lottie animations, I found LottieXamarin library, but that only works with Xamarin.Forms not with MAUI. I tried to update it, however I've run into multiple issues and at the same time I've realised only older Lottie versions can be binded, because from March of 2019, Lottie is a Swift library, which means it can't be binded easily.
-
Character animations like Duolingo in swiftui
It's probably made with Adobe AE or similar, and exported in Lottie format (SVG-data like + assets) to be loaded and rendered with the Lottie library for iOS (https://github.com/airbnb/lottie-ios) which I presume already comes with SwiftUI-compatible API.
-
A challenger to the throne of vector graphics. SVG is dead, long live TinyVG!
The HN thread also mentions Lottie from AirBnB and IconVG from Not-an-official-Google-product.
-
18 amazing 🤩 GitHub repositories that will help you 🪄 make a beautiful project
Lottie for Web, Android, iOS, React Native, and Windows
-
I built this Lottie animation editor to edit Lottie animations without After Effects! If like me, you use Lottie animations as part of your iOS app UI but struggle with After Effects or implementation issues, would like to know what you think. Added a video in comments too :)
I think there might be one but not sure how up to date it is: https://github.com/airbnb/lottie-ios/tree/lottie/objectiveC
- Burger king logo animated with UIKit
SnapKit
-
FixFlex alternatives - Stevia and SnapKit
3 projects | 12 Jan 2024
-
Storyboard vs Programmatic UI
I’ve been using Xcode for the last 13 years or so, and my advice is - us whatever is comfortable and makes sense to you. I use all 3: code*, storyboard and interface builder (xib). They all have their strengths and weaknesses. Storyboards are nice for quick simple screens with table/collection views and cell templates, but sucks when working in a team (merge conflicts on xml files is not fun). Interface builder has the advantage of being really quick for standalone viewcontrollers and views (after some code that takes away the boilerplate part of loading views from nibs) and minimized the git issues. And code is fun when you’re using anchors and frameworks like snapkit (https://github.com/SnapKit/SnapKit) but even when I was doing visual constrains using strings it was fine. Anyway, just try to learn a bit of everything and see what resonates with you. There are no right answers, just preferences.
-
I’ve never thought about what it actually does
If you need to use Auto Layout, I recommend using a wrapper SDK like SnapKit https://github.com/SnapKit/SnapKit that is less verbose and less error-prone and assigns translatesAutoResizingMaskIntoConstraints and isActive automatically.
-
why is UIKit much harder than SwiftUI?
With a library like SnapKit, you can still have the terse, declarative coding style of UIKit. Hell, I once wrote my own poor-man's version of SnapKit on a whim because writing out constraint code manually got tedious.
-
📌 Pin — a tiny library that makes working with AutoLayout easier
SnapKit (19k⭐️) has been providing almost the same thing for years. It is already a standard for many companies.
-
What can be done with UIKit that can't be done with SwiftUI?
With something like SnapKit (I actually rolled my own poor man's version in like 10 minutes, before learning that SnapKit existed), SwiftUI no longer appeals to me because of it's declarative-style DSL.
-
Cracking the iOS Interview
SnapKit - Autolayout DSL for iOS & OS X
-
When looking for SwiftUI information, can I learn by looking at the equivalant UIKit solution, or are they too different?
This. And if you want to learn AutoLayout without the verbosity/complexity of Apple's own APIs, I would look into using SnapKit.
-
Awesome macOS Libraries List
SnapKit - A Swift Autolayout DSL. Language: Swift.
- What are some good UI libraries for UIKit/Appkit?
What are some alternatives?
MotionBlur - MotionBlur allows you to add motion blur effect to iOS animations.
PinLayout - Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]
KRProgressHUD - A beautiful and easy-to-use progress HUD for your iOS.
PureLayout - The ultimate API for iOS & OS X Auto Layout — impressively simple, immensely powerful. Objective-C and Swift compatible.
ViewAnimator - ViewAnimator brings your UI to life with just one line
TinyConstraints - Nothing but sugar.
SkeletonView - ☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
FlexLayout - FlexLayout adds a nice Swift interface to the highly optimized facebook/yoga flexbox implementation. Concise, intuitive & chainable syntax.
Gemini - Gemini is rich scroll based animation framework for iOS, written in Swift.
Cartography - A declarative Auto Layout DSL for Swift :iphone::triangular_ruler:
SpriteKitEasingSwift - Better Easing for SpriteKit in Swift
Stevia - :leaves: Concise Autolayout code