Skip to content

Burtan/iShowcase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iShowcase

Highlight individual parts of your application using iShowcase

CI Status Version License Platform Issues

1

Requirements

  • iOS 7.0 or higher
  • ARC

Installation

iShowcase is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "iShowcase", "~> 2.0"

or

Swift

  • Add iShowcase.swift file to your project

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

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.

About

Highlight the best parts of your application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 88.3%
  • Objective-C 6.2%
  • Ruby 4.4%
  • Shell 1.1%