Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Shoshiashvili committed Feb 11, 2018
2 parents e1dfd60 + c2ef0e6 commit 8d13ee0
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions README.md
Expand Up @@ -53,8 +53,9 @@ override func viewDidLoad() {
You can configure AwesomeSpotlightView before you present it using the `start` method. For example:

```objective-c
spotlightView.enableContinueLabel = false
spotlightView.enableSkipButton = false
spotlightView.continueButtonModel = AwesomeTabButton(title: "Next", font: UIFont.italicSystemFont(ofSize: 16.0), isEnable: true)
spotlightView.skipButtonModel.isEnable = true
spotlightView.skipButtonLastStepTitle = "Finish"
spotlightView.showAllSpotlightsAtOnce = false
spotlightView.start()
```
Expand Down Expand Up @@ -111,14 +112,6 @@ The captions label is set to have a max width of 280px. Number of lines is figur

Define how far the captions label appears above or below the cutout (default: 35px).

### `enableContinueLabel` (Bool)

'Tap to continue' label pops up by default to guide the user at the first spotlight (default: false).

### `enableSkipButton` (Bool)

'Skip' label pops up by default to guide the user at the first spotlight (default: false).

### `enableArrowDown` (Bool)

Icon with Arrow showed between caption text and caption (default: false).
Expand All @@ -127,17 +120,22 @@ Icon with Arrow showed between caption text and caption (default: false).

Fond of caption text label (default: UIFont.systemFont(ofSize: 20.0)).

### `continueLabelFont` (UIFont)
### `showAllSpotlightsAtOnce` (Bool)

Showed all spotlight at once (at the same time) (default: false).

Fond of continue label (default: UIFont.systemFont(ofSize: 13.0)).
### `skipButtonLastStepTitle` (String)

### `skipButtonFont` (UIFont)
This title will show in skip button when user did open last spotlight. (default: Done)

Fond of skip button (default: UIFont.boldSystemFont(ofSize: 13.0)).
### `continueButtonModel` (AwesomeTabButton)
### `skipButtonModel` (AwesomeTabButton)

### `showAllSpotlightsAtOnce` (Bool)
You can setup buttons with `AwesomeTabButton` structure: title, font, backgroundColor and isEnable state.

Showed all spotlight at once (at the same time) (default: false).
Default for continueButtonModel: title: "Continue", font: UIFont.boldSystemFont(ofSize: 13.0), isEnable: false

Default for skipButtonModel: title: "Skip", font: UIFont.boldSystemFont(ofSize: 13.0), isEnable: false


## AwesomeSpotlightViewDelegate
Expand Down

0 comments on commit 8d13ee0

Please sign in to comment.