MXParallaxHeader alternatives and similar libraries
Based on the "UI" category.
Alternatively, view MXParallaxHeader alternatives based on common mentions on social networks and blogs.
-
Material
Express your creativity with Material, an animation and graphics framework for Google's Material Design and Apple's Flat UI in Swift. -
Animated Tab Bar
RAMAnimatedTabBarController is a Swift module for adding animation to tabbar items. -
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
Scrollable-GraphView
An adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift. Originally written for a small personal project. -
SideMenu
Simple side menu control for iOS in Swift inspired by Facebook. Right and Left sides. No coding required. -
Alerts Pickers
Advanced usage of UIAlertController with TextField, DatePicker, PickerView, TableView and CollectionView. -
Material Components for iOS
Modular and customizable Material Design UI components for iOS -
ESTabBarController
A highly customizable TabBarController component, which is inherited from UITabBarController. -
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS. -
BulletinBoard
Generates and manages contextual cards displayed at the bottom of the screen. -
TLYShyNavBar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars! -
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. -
RazzleDazzle
A simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros. -
CircleMenu
CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. -
paper-switch
RAMPaperSwitch is a material design UI module which paints over the parent view when the switch is turned on.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of MXParallaxHeader or a related project?
README
MXParallaxHeader
MXParallaxHeader is a simple header class for UIScrollView.
In addition, MXScrollView is a UIScrollView subclass with the ability to hook the vertical scroll from its subviews, this can be used to add a parallax header to complex view hierachy. Moreover, MXScrollViewController allows you to add a MXParallaxHeader to any kind of UIViewController.
UIScrollView | MXScrollViewController |
---|---|
[Demo](Example/demo1.gif) | [Demo](Example/demo2.gif) |
Usage
If you want to try it, simply run:
pod try MXParallaxHeader
- Adding a parallax header to a UIScrollView is straightforward, e.g:
Swift
let headerView = UIImageView()
headerView.image = UIImage(named: "success-baby")
headerView.contentMode = .scaleAspectFit
let scrollView = UIScrollView()
scrollView.parallaxHeader.view = headerView
scrollView.parallaxHeader.height = 150
scrollView.parallaxHeader.mode = .fill
scrollView.parallaxHeader.minimumHeight = 20
Objective-C
UIImageView *headerView = [UIImageView new];
headerView.image = [UIImage imageNamed:@"success-baby"];
headerView.contentMode = UIViewContentModeScaleAspectFill;
UIScrollView *scrollView = [UIScrollView new];
scrollView.parallaxHeader.view = headerView;
scrollView.parallaxHeader.height = 150;
scrollView.parallaxHeader.mode = MXParallaxHeaderModeFill;
scrollView.parallaxHeader.minimumHeight = 20;
The MXScrollViewController is a container with a child view controller that can be added programmatically or using the custom segue MXScrollViewControllerSegue.
Please check examples for Swift implementations.
Installation
Swift Package Manager
You can use Swift Package Manager directly within Xcode or add it to the dependencies
value of your Package.swift
.
dependencies: [
.package(url: "https://github.com/mexp/MXParallaxHeader", .upToNextMajor(from: "1.1.0"))
]
CocoaPods
MXParallaxHeader is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "MXParallaxHeader"
Documentation
Documentation is available through CocoaDocs.
Author
License
MXParallaxHeader is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the MXParallaxHeader README section above
are relevant to that project's source code only.