iShowcase 2.3.0

iShowcase 2.3.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2017
SwiftSwift Version 4.0
SPMSupports SPM

Maintained by Rahul Iyer.




iShowcase 2.3.0

iShowcase

Highlight individual parts of your application using iShowcase

1

Requirements

  • iOS 7.0 or higher
  • ARC

Installation

or

Swift

  • Add iShowcase.swift file to your project

Documentation

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Creating Instance

// Create Object of iShowcase
let showcase = iShowcase()

Delegate

showcase.delegate = self;

Delegate Methods

iShowcaseShown // Called When Showcase is displayed
iShowcaseDismissed // Called When Showcase is removed

Displaying iShowcase

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)

Customizations

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

Screenshots

2 3 4 5

Credits

Inspired from ShowcaseView by Alex Curran

Author

rahuliyer95, [email protected]

License

iShowcase is available under the MIT license. See the LICENSE file for more info.