-
Notifications
You must be signed in to change notification settings - Fork 11
NUXButton configurable using UIAppearance #7
Conversation
…nges like `FancyButton` does
Removes NUXSubmitButton class. Removes button background assets and generates button background images.
| @@ -1,54 +1,285 @@ | |||
| import UIKit | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The NUXButton file is a duplicate of FancyButton with the activity view add-on (in case you're wondering where this code originated from)
|
@jleandroperez or @ScoutHarris ready for review! |
|
Okay, not sure what's going on, but i didn't close this PR!! |
|
I'd like to take a look at this one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll move these to the new issue lol
| @@ -1,20 +1,5 @@ | |||
| PODS: | |||
| - 1PasswordExtension (1.8.5) | |||
| - AFNetworking (3.2.1): | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any idea why the Podfile.lock changed so much without any changes to the Podfile?
| /// A stylized button used by Login controllers. It also can display a `UIActivityIndicatorView`. | ||
| @objc open class NUXButton: NUXSubmitButton { | ||
| // MARK: - Configuration | ||
| fileprivate let horizontalInset: CGFloat = 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where did these config values go?
This was branched from
new-woo-apis.new-woo-apisit isn't compatible with WPiOS just yet and was breaking when I attempted to test the secondary button.This PR makes the NUXButton configurable using UIAppearance. To run a full test, check out the WCiOS PR instructions.