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
[ | |
"cigar", "rebut", "sissy", | |
"humph", | |
"awake", | |
"blush", | |
"focal", | |
"evade", | |
"naval", | |
"serve", | |
"heath", |
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
*SOURCE EDITOR* | |
Plain - #FFFFFF - SF Mono Regular 14.0 | |
Comments - #7F7F7F - SF Mono Regular Italic 14.0 | |
Strings - #F9EC12 - SF Mono Regular 14.0 | |
Characters / Numbers - #786DFF - SF Mono Regular 14.0 | |
Keywords - #F100FF - SF Mono Regular 14.0 | |
Processor Statements - #E47C48 - SF Mono Regular 14.0 | |
URLs - #4164FF - SF Mono Regular 14.0 | |
Attributes - #2D449B - SF Mono Regular 14.0 | |
Project - #2CFF33 - SF Mono Regular 14.0 |
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
// get a complementary color to this color: | |
func getComplementaryForColor(color: UIColor) -> UIColor { | |
let ciColor = CIColor(color: color) | |
// get the current values and make the difference from white: | |
let compRed: CGFloat = 1.0 - ciColor.red | |
let compGreen: CGFloat = 1.0 - ciColor.green | |
let compBlue: CGFloat = 1.0 - ciColor.blue | |
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
let version : AnyObject! = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleShortVersionString") | |
let build : AnyObject! = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleVersion") | |
println("Version: \(version)") | |
println("Build: \(build)") |