The image does not move with the button when I press a PressableButton
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.
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 => '[email protected]: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.