Latest 0.1.6
Homepage https://github.com/malt03/PinchableLabel
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

Platform
Language
Carthage compatible
CocoaPods
License

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?)
}

Installation via Carthage

PinchableLabel is available through Carthage. To install
it, simply add the following line to your Cartfile:

github "malt03/PinchableLabel"

Installation via CocoaPods

PinchableLabel is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "PinchableLabel"

Author

Koji Murata, [email protected]

License

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

Latest podspec

{
    "name": "PinchableLabel",
    "version": "0.1.6",
    "summary": "You can pinch a label.",
    "description": "You can rotate and scale this label by pinching.",
    "homepage": "https://github.com/malt03/PinchableLabel",
    "screenshots": "https://raw.githubusercontent.com/malt03/PinchableLabel/master/screen_shot.gif",
    "license": "MIT",
    "authors": {
        "Koji Murata": "[email protected]"
    },
    "source": {
        "git": "https://github.com/malt03/PinchableLabel.git",
        "tag": "0.1.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "PinchableLabel": [
            "Pod/Assets/*.png"
        ]
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This