You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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```",