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 UIKit | |
protocol Printable { | |
func printMe() | |
} | |
class PFObject:Printable {} | |
class PFDictionary:Printable { |
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
enum EnumType:Any { | |
case none | |
case firstType(value:String) | |
case secondTypeA(value1:String, value2:Int) | |
case secondTypeB(value1:String, value2:Int) | |
} | |
func checkEnumType(type:EnumType) { | |
switch type { |