iShowcase
Undocumented
-
Type of the highlight for the showcase
- CIRCLE: Creates a circular highlight around the view
- RECTANGLE: Creates a rectangular highligh around the view
Declaration
Swift
@objc public enum TYPE: Int -
Label to show the title of the showcase
Declaration
Swift
open var titleLabel: UILabel! -
Label to show the description of the showcase
Declaration
Swift
open var detailsLabel: UILabel! -
Color of the background for the showcase. Default is black
Declaration
Swift
open var coverColor: UIColor! -
Alpha of the background of the showcase. Default is 0.75
Declaration
Swift
open var coverAlpha: CGFloat! -
Color of the showcase highlight. Default is #1397C5
Declaration
Swift
open var highlightColor: UIColor! -
Type of the showcase to be created. Default is Rectangle
Declaration
Swift
open var type: TYPE! -
Radius of the circle with iShowcase type Circle. Default radius is 25
Declaration
Swift
open var radius: Float! -
Single Shot ID for iShowcase
Declaration
Swift
open var singleShotId: Int64! -
Hide on tapped outside the showcase spot
Declaration
Swift
open var hideOnTouchOutside = true -
Delegate for handling iShowcase callbacks
Declaration
Swift
open var delegate: iShowcaseDelegate?
-
Initialize an instance of iShowcae
Declaration
Swift
public init() -
This method is not supported
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Position the views on the screen for display
Declaration
Swift
open override func layoutSubviews() -
Setup the showcase for a view
Declaration
Swift
open func setupShowcaseForView(_ view: UIView)Parameters
viewThe view to be highlighted
-
Setup showcase for the item at 1st position (0th index) of the table
Declaration
Swift
open func setupShowcaseForTableView(_ tableView: UITableView)Parameters
tableViewTable whose item is to be highlighted
-
Setup showcase for the item at the given indexpath
Declaration
Swift
open func setupShowcaseForTableView(_ tableView: UITableView, withIndexPath indexPath: IndexPath)Parameters
tableViewTable whose item is to be highlighted
indexPathIndexPath of the item to be highlighted
-
Setup showcase for the item at the given index in the given section of the table
Declaration
Swift
open func setupShowcaseForTableView(_ tableView: UITableView, withIndexOfItem row: Int, andSectionOfItem section: Int)Parameters
tableViewTable whose item is to be highlighted
rowIndex of the item to be highlighted
sectionSection of the item to be highlighted
-
Setup showcase for the Bar Button in the Navigation Bar
Declaration
Swift
open func setupShowcaseForBarButtonItem(_ barButtonItem: UIBarButtonItem)Parameters
barButtonItemBar button to be highlighted
-
Setup showcase to highlight a particular location on the screen
Declaration
Swift
open func setupShowcaseForLocation(_ location: CGRect)Parameters
locationLocation to be highlighted
-
Display the iShowcase
Declaration
Swift
open func show()
iShowcase Class Reference