This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension UIView { | |
| func animateLoading () { | |
| let gradient = CAGradientLayer() | |
| gradient.startPoint = CGPoint(x: 0, y: 0) | |
| gradient.endPoint = CGPoint(x: 1, y: 0) | |
| gradient.frame = CGRect(x: 0, y: 0, width: self.bounds.size.width*3, height: self.bounds.size.height) | |
| let lowerAlpha: CGFloat = 0.75 | |
| let solid = UIColor(white: 1, alpha: 1).cgColor | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // StringExtensions.swift | |
| // PlistSwift | |
| // | |
| // Created by aybek can kaya on 16/01/16. | |
| // Copyright © 2016 aybek can kaya. All rights reserved. | |
| // | |
| import Foundation |
NewerOlder