import Cocoa //Class // 구조체 타입을 정하는 것이다. class Sample { var sampleProperty: Int = 10 // 가변 Property let fixedSampleProperty: Int = 100 // 불편 Property static var typeProperty: Int = 1000 // 타입 Property func instanceMethod() { print("instance method") } //타입 메서드 // 재정의 불가 타입 메서드 - static static func typeMethod() { print("type method-static") } // 재정의 기능 타입 메서드 - class class func classmethod(){ pri..