Material Showcase for iOS
An elegant and beautiful tap showcase view for iOS apps based on Material Design Guidelines.
An elegant way to guide your beloved users in iOS apps - Material Showcase.
![]() |
![]() |
---|---|
![]() |
![]() |
![]() |
![]() |
Requirement
- iOS 8.0+
- Swift 3.0+
Installation
CocoaPods
You can install it by using CocoaPods. Please add the following line to your Podfile.
pod 'MaterialShowcase'
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
To integrate MaterialShowcase into your Xcode project using Carthage, specify it in your Cartfile
:
Run carthage update
to build the framework and drag the built MaterialShowcase.framework
into your Xcode project.
Usage
Objective-C
In order to integrate the library into Object-C project, please follow the instructions from this doc.
Basic
Note: showcase.show()
should be called after your views are placed correctly, for example inside UIViewController's viewWillAppear()
or viewDidAppear()
function. You SHOULD NOT call it inside viewDidLoad()
because views have not laid down correctly yet, showcase
can not calculate these views positions and it results in unexpected errors.
Supported target views
There are several target view supported.
Handle showcase status
Support both LTR and RTL text alignment
In default, text aligment is set to be left-to-right. If you want to show text in right-to-left direction. Please define following.
Dismiss showcase only if users click to target view
In default, showcase will be dismissed when users click to any place in whole showcase view.
If you want to dismiss showcase only when users click to target view correctly, please set the following property.
Customize UI properties
You can define your own styles based on your app.