Highlight individual parts of your application using iShowcase
- iOS 7.0 or higher
- ARC
iShowcase is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "iShowcase", "~> 2.0"
or
- Add
iShowcase.swift
file to your project
To run the example project, clone the repo, and run pod install
from the Example directory first.
// Create Object of iShowcase
let showcase = iShowcase()
showcase.delegate = self;
iShowcaseShown // Called When Showcase is displayed
iShowcaseDismissed // Called When Showcase is removed
showcase.setupShowcaseForView(view: UIView)
showcase.titleLabel.text = "Default"
showcase.detailsLabel.text = "This is default iShowcase!"
showcase.show()
// For custom location
setupShowcaseForLocation(location: CGRect)
// Methods for other UI Elements
setupShowcaseForTableView(tableView: UITableView)
setupShowcaseForTableView(tableView: UITableView, withIndexPath: NSIndexPath)
setupShowcaseForTableView(tableView: UITableView, withIndexOfItem: Int, andSectionOfItem: Int)
setupShowcaseForBarButtonItem(barButtonItem: UIBarButtonItem)
public enum TYPE: Int {
case CIRCLE = 0
case RECTANGLE = 1
}
titleLabel: UILabel
detailsLabel: UILabel
coverColor: UIColor
coverAlpha: CGFloat
highlightColor: UIColor
type: TYPE
radius: Float
singleShotId: Int64
hideOnTouchOutside: Bool
Inspired from ShowcaseView by Alex Curran
rahuliyer95, rahuliyer573@gmail.com
iShowcase is available under the MIT license. See the LICENSE file for more info.