This file contains 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
public extension Contextualizable { | |
public func BuildContextError( items: Any..., | |
file: String = (__FILE__ as NSString).lastPathComponent, | |
function: String = __FUNCTION__, | |
line: Int = __LINE__) -> CoreError { | |
let reasons = items.map({"\($0)"}).joinWithSeparator(", ") | |
let context = "\(function):\(self.dynamicType):\(file):\(line) " | |
This file contains 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
import CoreGraphics | |
import Foundation | |
import UIKit | |
class GradientLabel : UILabel { | |
let gradient: CGGradient! | |
let alignedToSuperview: Bool! |