Skip to content

Instantly share code, notes, and snippets.

View SteeweGriffin's full-sized avatar

Raffaele Cerullo SteeweGriffin

View GitHub Profile
import UIKit
protocol Printable {
func printMe()
}
class PFObject:Printable {}
class PFDictionary:Printable {
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 {