PinchableLabel 0.1.6

PinchableLabel 0.1.6

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Apr 2016
SPMSupports SPM

Maintained by Koji Murata.




  • By
  • Koji Murata

PinchableLabel

Screen Shot

Usage

Initialize

let label = PinchableLabel()
label.text = "Label"
label.sizeToFit()
label.center = view.center
view.addSubview(label)

Delegate

protocol PinchableLabelDelegate {
  optional func pinchableLabelTouchesBegan(pinchableLabel: PinchableLabel, touches: Set<UITouch>, withEvent event: UIEvent?)
  optional func pinchableLabelTouchesMoved(pinchableLabel: PinchableLabel, touches: Set<UITouch>, withEvent event: UIEvent?)
  optional func pinchableLabelTouchesEnded(pinchableLabel: PinchableLabel, touches: Set<UITouch>, withEvent event: UIEvent?)
}

Author

Koji Murata, [email protected]

License

PinchableLabel is available under the MIT license. See the LICENSE file for more info.