TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Sep 2017 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✗ |
Maintained by Rahul Iyer.
Highlight individual parts of your application using iShowcase
or
iShowcase.swift
file to your projectTo 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, [email protected]
iShowcase is available under the MIT license. See the LICENSE file for more info.