blob: 7aaa5b3ea049a3e207ae19894e0467d078da45d3 [file] [log] [blame]
{
"name": "GlowingView",
"version": "0.0.1",
"summary": "A UIView extension adds customisable glow effect based on CALayer shadows.",
"description": "GlowingView\n===\n\nA UIView extension adds customisable glow effect based on CALayer shadows.\n\nDemo\n----\n\n![alt tag]()\n\n#### Try\n\n``` sh\npod try GlowingView\n```\n\nRequirements\n----\n\n* Xcode 8+\n* Swift 3+\n* iOS 10+\n\nInstall\n----\n\n``` ruby\nuse_frameworks!\npod 'GlowingView'\n```\n\nUsage\n----\n\nCall `startGlowing` function with optional paramaters to fit your glowing needs.\nCall `stopGlowing` function to stop glowing effect.\n\nGlowingView adds a private glowing layer top of the target view with CALayer shadows and CABasicAnimation animations.\n\n\n#### Start Glow Signature\n\n```\n public func startGlowing(\n color: UIColor = .white,\n fromIntensity: CGFloat = 0,\n toIntensity: CGFloat = 1,\n fill: Bool = false,\n position: CGPoint? = nil,\n duration: TimeInterval = 1,\n repeat shouldRepeat: Bool = true)\n```\n\n#### Demo usage\n\n```\nglowImageView?.startGlowing(\n color: .green,\n duration: 0.5)\n\nfillGlowImageView?.startGlowing(\n color: .red,\n toIntensity: 0.4,\n fill: true,\n duration: 0.8)\n```",
"homepage": "https://github.com/cemolcay/GlowingView",
"license": "MIT",
"authors": {
"cemolcay": "ccemolcay@gmail.com"
},
"platforms": {
"ios": "10.0",
"tvos": "10.0"
},
"source": {
"git": "https://github.com/cemolcay/GlowingView.git",
"tag": "0.0.1"
},
"source_files": "GlowingView/GlowingView.swift",
"requires_arc": true
}