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 Tom Baranes on 13/02/16. | |
// Copyright © 2016 Jake Lin. All rights reserved. | |
// | |
import UIKit | |
import Foundation | |
public enum ColorType: String { | |
case FlatEmerland |
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
// IBEnum.swift | |
import Foundation | |
public protocol IBEnum { | |
init?(string: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
// ---------------------------------------- IBEnum.swift ----------------------------------------- | |
import Foundation | |
import UIKit | |
public enum MaskType: IBEnum { | |
case circle | |
case polygon(sides:Int?) | |
case star(points:Int?) | |
case triangle |