Open Sweeper777 opened 7 years ago
Oh good point, we haven't implemented image inset changes in the pressed state. Will tackle soon.
@Sweeper777 Fixed in https://github.com/TakeScoop/SwiftyButton/commit/f9ec59a5456e2a2ad6b8e26b86c7adb6293c05d0 which I merged in master
. Would you mind giving it a shot with Cocoapods?
pod 'SwiftyButton', :git => 'git@github.com:TakeScoop/SwiftyButton.git', :branch => 'master'
I can't seem to install the pod. This is the error:
Also, is this for Swift 3? My old project is still using Swift 3.
To reproduce this, put a PressableButton on the storyboard, set its image to some image and text to
""
. Now try to press the button. The button will look like as if it's been pressed, but the image stays at the same position. This looks very unnatural.