Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PermissionButton improvements #94

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

PermissionButton improvements #94

wants to merge 5 commits into from

Conversation

Jeehut
Copy link

@Jeehut Jeehut commented Feb 8, 2017

When using the PermissionButton in an app I recognised two issues. I opened an issue for each:

This PR solves both #92 and #93 and probably also #116.

NOTE: Since @delba is not answering, I've integrated #90 to this PR. If you want to use a iOS 10, Xcode 9 and Swift 4 compatible version of this framework, feel free to integrate my fork instead:
https://github.com/Dschee/Permission

Copy link
Owner

@delba delba left a comment

Choose a reason for hiding this comment

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

Great PR, thanks! Just a little change and we're good to go :)

@@ -450,7 +450,15 @@ open class PermissionButton: UIButton {
Tells the view that its superview changed.
*/
open override func didMoveToSuperview() {
render(.normal)
Copy link
Owner

Choose a reason for hiding this comment

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

Could you use render() here please? I prefer to keep update() solely as a public interface.

Copy link
Author

Choose a reason for hiding this comment

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

Sure, just updated this.

@Jeehut
Copy link
Author

Jeehut commented Mar 28, 2017

Anything new here? I did the requested change two weeks ago, still not merged though.
Would be great to link against the original project in my Cartfile! :)
(Just had to rebase due to Xcode 8.3 changes ...)

@Jeehut
Copy link
Author

Jeehut commented Jul 15, 2017

@delba What about merging this?

@Jeehut
Copy link
Author

Jeehut commented Sep 14, 2017

@delba Ping.

@jeffaburt
Copy link

@delba do you mind taking a second pass at this when you get a free second?

@Jeehut
Copy link
Author

Jeehut commented Oct 17, 2017

@jeffaburt @CraigSiemens See my comment here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants