Sometimes better to use a well-known library than the invention own bicycle.
Of course, be aware to use too many dependencies and take balance between clean code and huge count of dependencies.
iOS Libray
TKSwitcherCollection


Today, we’ll start with TKSwitcherCollection, a collection of animated switch controls.
It’s really easy to use — you just need to download and drop the TKSwitcherCollection in your project, and you’re ready!
At the moment, there are four different switches available:
TKSimpleSwitch → The traditional switch available on iOS but also on vertical.
TKExchangeSwitch → A switch that changes form in touch.
TKSmileSwitch → A switch with two values: sad and happy.
TKLiquidSwitch → A switch with a liquid-style animation.
CocoaTextField

CocoaTextField is a small, highly customizable text field library that can be used both programmatically and with storyboards.
You can, of course, customize some things, like inactive hint color, active hint color, default/focused background color, border color, and error color.
Expanding collection

EXPANDING COLLECTION is a library made in Swift that creates an animated material design UI card peek/pop controller.
In order to use this library, you have to import expanding_collection, and then create a UICollectionViewCell that inherits from BasePageCollectionCell. Then, add a FrontView and a BackView.
Now you can create a UIViewController that inherits fromExpandingViewController, register the cell created in the first step, and add the UICollectionViewDataSource.
More information about the implementation can be found in the official Github repository.
AnimatedCollectionViewLayout

UICollectionView doesn’t have a transition effect animation as the default when you scroll between items.
AnimatedCollectionViewLayout is a UICollectionViewLayout subclass that adds custom transitions and animations to your UICollectionView without affecting your existing code!
To use it, you need to import the library into your project. Then, you have to create an AnimatedCollectionViewLayout object, set its animator, and assign it to your UICollectionView
CollectionViewSlantedLayout

CollectionViewSlantedLayout is another subclass of the UICollectionViewLayout that allows the display of slanted cells in a UICollectionView.
This library works with every UICollectionView, horizontal and vertical with Dynamic cells height.
Among the configurable things, we find: slanting size, slanting direction, slanting angle, scroll direction, line spacing, item size, and the possibility to exclude the first or the last cell slanting.
QGrid

QGrid is the missing SwiftUI collection view. It uses the same approach as SwiftUI's list view, by computing its cells on-demand from an underlying collection of identified data.
SwiftUICharts

This is one of my favorite libraries. A Swift package for displaying charts effortlessly.
It supports:
- Line charts
- Bar charts
- Pie charts
WaterfallGrid
A waterfall grid layout view for SwiftUI.

Features:
- Irregular grid of content.
- The number of columns is different per device orientation.
- Spacing and grid padding customizable.
- Horizontal or vertical scroll direction.
- Items update can be animated.

EasyNotificationBadge

EasyNotificationBadge in a few lines of code will put the famous iOS badge in any view. You can also customize the badge appearance by changing background color, text color, text size, distance from center X/Y, shadow, border color, and width.
CalendarKit

CalendarKit is a customizable library to add calendar features in your app entirely made in Swift. Really similar to the iOS calendar, this app can be easily customized.
This library supports localization and uses default locale to display month/day names. The graphics style can also be changed creating a new CalendarStyle object and calling the updateStyle method.
Android
LiquidSwipe

Awesome ViewPager library that shows wave-like swipe animations when navigating across the different fragments of the ViewPager. The USP of this library is that it is touch interactive. This means that the touch events are taken into consideration when showing the liquid-likerevealing transition across the views.
AestheticDialogs

Here’s a beautiful and stylish alert dialog library which currently supports six different use cases of dialogs right, from connectivity to toast banners to temporary flash and emojis.

