blob: 92ac7246232983e5d0b4e47755e3ff0664969685 [file] [log] [blame]
{
"name": "CenterTextLayer",
"version": "0.0.2",
"summary": "Universal CATextLayer subclass that centers its text vertically.",
"swift_version": "4.2",
"description": "CenterTextLayer\n===\n\nUniversal CATextLayer subclass that centers its text vertically.\n\nRequierments\n----\n\n* Swift 3.0+\n* iOS 8.0+\n* tvOS 9.0+\n* macOS 10.9+\n\nInstall\n----\n\n```\nuse_frameworks!\npod 'CenterTextLayer'\n```\n\nUsage\n----\n\nIt's just a regular `CATextLayer` subclass that center its text.\nUse it like any `CATextLayer`\n\n```\nlet textLayer = CenterTextLayer()\ntextLayer.frame = bounds\ntextLayer.string = \"Center Text!\"\n```",
"homepage": "https://github.com/cemolcay/CenterTextLayer",
"license": "MIT",
"authors": {
"cemolcay": "ccemolcay@gmail.com"
},
"social_media_url": "http://twitter.com/cemolcay",
"platforms": {
"ios": "8.0",
"osx": "10.9",
"tvos": "9.0"
},
"source": {
"git": "https://github.com/cemolcay/CenterTextLayer.git",
"tag": "0.0.2"
},
"source_files": "Source/*.swift",
"requires_arc": true
}