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
// | |
// NestedGauge.swift | |
// circle | |
// | |
// Created by Dima Vartanian on 5/10/17. | |
// Copyright © 2017 Dima Vartanian. All rights reserved. | |
// | |
import UIKit |
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
# don't treat any of these as errors, warnings or info | |
ok /setenv / | |
# ignore TidyXML warnings | |
ok /line [0-9]+ column [0-9]+ - Error:/ | |
ok /line [0-9]+ column [0-9]+ - Warning:/ | |
ok /[0-9]+ warning.+ error.+ found!/ | |
# ignore weird warnings about build variables in Info.plist: | |
# e.g. "warning: ignoring operator ':rfc1034Identifier' on 'RSWebClientCore' for macro 'PRODUCT_NAME'" |
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
//: Playground - noun: a place where people can play | |
import UIKit | |
enum ParseError: ErrorType | |
{ | |
case MissingKey(key: String) | |
case TypeMismatch(expected: String, actual: String) | |
} |
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
//: Playground - noun: a place where people can play | |
import UIKit | |
enum ParseError: ErrorType | |
{ | |
case MissingKey(key: String) | |
case TypeMismatch(expected: String, actual: String) | |
} |
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
// | |
// Created by Dima Vartanian on 10/29/15. | |
// | |
import Foundation | |
import Crashlytics | |
// this method gives us pretty much the same functionality as the CLS_LOG macro, but written as a Swift function, the only differences are that we have to use array syntax for the argument list and that we don't get see if the method being called is a class method or an instance method. We also have to define the DEBUG compiler flag with -D DEBUG. | |
/// Usage: | |
/// |