ParallaxView alternatives and similar libraries
Based on the "UI" category.
Alternatively, view ParallaxView alternatives based on common mentions on social networks and blogs.
-
Charts
Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart. -
LTMorphingLabel
[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift. -
NVActivityIndicatorView
A collection of awesome loading animations -
Animated Tab Bar
:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion -
folding-cell
:octocat: 📃 FoldingCell is an expanding content cell with animation made by @Ramotion -
JTAppleCalendar
The Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable -
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
SwiftMessages
A very flexible message bar for iOS written in Swift. -
Macaw
Powerful and easy-to-use vector graphics Swift library with SVG support -
AMScrollingNavbar
Scrollable UINavigationBar that follows the scrolling of a UIScrollView -
SwiftEntryKit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps. -
Pagemenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
SwipeCellKit
Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift. -
TextFieldEffects
Custom UITextFields effects inspired by Codrops, built using Swift -
Alerts Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date... -
SPPermission
Universal API for request permission and get its statuses. -
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
Scrollable-GraphView
An adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift. -
PermissionScope
A Periscope-inspired way to ask for iOS permissions. -
Material Components for iOS
[In maintenance mode] Modular and customizable Material Design UI components for iOS -
SCLAlertView
Beautiful animated Alert View. Written in Swift -
ESTabBarController
:octocat: ESTabBarController is a Swift model for customize UI, badge and adding animation to tabbar items. Support lottie! -
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
Instructions
Create walkthroughs and guided tours (coach marks) in a simple way, with Swift. -
ActiveLabel
UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift -
SlideMenuControllerSwift
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift. -
TLYShyNavBar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars! -
PKHUD
A Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8. -
Siren
Notify users when a new version of your app is available and prompt them to upgrade. -
DGElasticPullToRefresh
Elastic pull to refresh for iOS developed in Swift -
PopupDialog
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style. -
StarWars.iOS
This component implements transition animation to crumble view-controller into tiny pieces. -
Persei
Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift -
KMNavigationBarTransition
A drop-in universal library helps you to manage the navigation bar styles and makes transition animations smooth between different navigation bar styles while pushing or popping a view controller for all orientations. And you don't need to write any line of code for it, it all happens automatically. -
Whisper
:mega: Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside -
CircleMenu
:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion -
RazzleDazzle
A simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros. -
Parchment
A paging view controller with a highly customizable menu ✨ -
PaperOnboarding
:octocat: PaperOnboarding is a material design UI slider. Swift UI library by @Ramotion -
XLActionController
Fully customizable and extensible action sheet controller written in Swift
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ParallaxView or a related project?
README
ParallaxView
Summary
Easy to use UIView
, UICollectionViewCell
with parallax effect and extensions to add this effect to any UIView
. Rotate view using Apple TV remote. Works confusingly similar to tiles in the home screen of the Apple TV.
ParallaxView
Open your storyboard or xib and drag and drop UIView
control.
Change custom class to ParallaxView
in Identity inspector.
You can also create control from code.
ParallaxCollectionViewCell
In Interface builder change collection view cell class to ParallaxCollectionViewCell
or do it from code.
You can also create subclass of ParallaxCollectionViewCell
insted of UICollectionViewCell
and use it as normal collection view cell.
Extension
If ParallaxView
and ParallaxCollectionViewCell
don't fit to your needs you can use extension that can be used with any UIView
. In many cases it can look like in this example:
override func didUpdateFocus(in context: UIFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator) {
coordinator.addCoordinatedAnimations({
if context.nextFocusedView === yourCustomView {
yourCustomView.addParallaxMotionEffects()
}
if context.previouslyFocusedView === yourCustomView {
yourCustomView.removeParallaxMotionEffects()
}
}, completion: nil)
}
It is important to add and remove parallax effect inside the animation block to avoid the glitches.
ParallaxView
and ParallaxCollectionViewCell
internally use the same methods.
For more details look into example.
Customisation
The component is documented in code, also look into example for more details.
Properties
ParallaxView
and ParallaxCollectionViewCell
have the same properties for customisation.
parallaxEffectOptions
- using this property you can customize parallax effect.parallaxMotionEffect
- configure parallax effect (pan, angles, etc.)subviewsParallaxMode
- enum that allow you to configure parallax effect for subviews of theParallaxView
shadowPanDeviation
- maximal value of points that shadow of theParallaxView
will be moved during parallax effectglowAlpha
- configure alpha of the glow effect (if is equal to 0.0 then the glow effect will be not added)parallaxSubviewsContainer
- custom container view that will be usead to apply subviews parallax effect. By default it will be parallaxable view by itself.glowContainerView
- view that will be used as the container for the glow effect. You don't have to configure this because forParallaxView
it will be automatically created a subview for this purpose, while forParallaxCollectionViewCell
it will be usedcontentView
of the cell. Also by default it is nil when you use extension (self
will be used as the glow container but only ifglowAlpha
is bigger than 0.0). But if you want to, you can define custom view - look into example project for more details.glowImageView
- image view that will be used as the glow effect.ParallaxView
framework provides default image that will be set.
glowPosition
- (.top
default) - allows to customize position of the glow effect related to theglowImageContainer
. You can provide custom setup by creatingGlowPosition
instance.parallaxViewActions
- use properties of this property to change default behaviours of the parallax view. Internally bothParallaxView
andParallaxCollectionViewCell
calls callbacks.setupUnfocusedState
- closure will be called in animation block when view should change its appearance to the focused statesetupFocusedState
- closure will be called in animation block when view should change its appearance to the unfocused statebeforeBecomeFocusedAnimation
- closure will be called before the animation to the focused change startbeforeResignFocusAnimation
- closure will be called before the animation to the unfocused change startbecomeFocused
- closure will be called when didFocusChange happened. In most cases default implementation should workresignFocus
- closure will be called when didFocusChange happened. In most cases default implementation should work.animatePressIn
- default implementation of the press begin animationanimatePressOut
- default implementation of the press ended animation
cornerRadius
- use this value insted ofself.view.layer.cornerRadius
. This will automatically correct radius for glow effect view if it is necessary
Requirements
Swift 5.0, tvOS 9.0
Installation
- #### CocoaPods
Add line to Podfile
# ...
target 'MyApp' do
# your other pod
# ...
pod 'ParallaxView'
end
# ...
- #### Carthage
Add a line to Cartfile
:
github "PGSSoft/ParallaxView"
Xcode 12 (Swift 5.3) required!
In Xcode:
Select File > Swift Packages > Add Package Dependency. Enter https://github.com/PGSSoft/ParallaxView
If you would like to check more details please visit the Apple's documentation
- #### Manual
You can download the latest files from our Releases page. After doing so, drag ParallaxView.xcodeproj
into your project in Xcode, and for your project target on General tab in Embedded Binaries section add ParallaxView.framework
. Example project is configured the same way, so you have the crib sheet.
Usage
import ParallaxView
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/PGSSoft/ParallaxView.
License
The project is available as open source under the terms of the MIT License.
About
The project maintained by software development agency PGS Software. See our other open-source projects or contact us to develop your product.
Follow us
*Note that all licence references and agreements mentioned in the ParallaxView README section above
are relevant to that project's source code only.