Skip to content

Feature/add left button optional - #33

Merged
rnystrom merged 10 commits into
GitHawkApp:masterfrom
24COMS:feature/add-left-button
Mar 14, 2018
Merged

Feature/add left button optional#33
rnystrom merged 10 commits into
GitHawkApp:masterfrom
24COMS:feature/add-left-button

Conversation

@lenkaiser

Copy link
Copy Markdown
Contributor

By setting the showLeftButton flag you can enable or disable the left accessory button.

@rnystrom

Copy link
Copy Markdown
Member

This is awesome! Will set aside some time to review!

Sent with GitHawk


private func setRight(buttonTitle: String, for state: UIControlState) {
rightButton.setTitle(buttonTitle, for: state)
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: These look like unnecessary wrappers for these methods. It would be better to just call them directly

@Fogh

Fogh commented Mar 13, 2018

Copy link
Copy Markdown
Contributor

Can we get this pull request merged? Would be really nice with support for a left button 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants