Skip to content

Commit

Permalink
Update README for separator feature
Browse files Browse the repository at this point in the history
  • Loading branch information
CaliCastle committed Apr 25, 2018
1 parent fd34f26 commit fe92630
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,17 +457,19 @@ manager.popMenuAppearance.popMenuActionHeight = 65
menu.appearance.popMenuActionHeight = 65
```

Action Item Separator Hidden // Default: true
Action Item Separator // Default: none
---------

To set the action item separator visible:
To set the action item separator:

```swift
// The manager way
manager.popMenuAppearance.popMenuItemSeparatorHidden = false
manager.popMenuAppearance.popMenuItemSeparator = .none()
manager.popMenuAppearance.popMenuItemSeparator = .fill() // Default height of 0.5, white color with 0.5 opacity
manager.popMenuAppearance.popMenuItemSeparator = .fill(.yellow, height: 1) // Or set it yourself

// The manual way
menu.appearance.popMenuItemSeparatorHidden = false
menu.appearance.popMenuItemSeparator = ...
```

Status Bar Style // Default: automatic detection based on background color
Expand Down

0 comments on commit fe92630

Please sign in to comment.