Files
swift-mirror/test/Serialization/Inputs/def_objc.swift
Jordan Rose 62535fb95c [serialization] Serialize ObjC bit, [iboutlet], [ibaction], [class_protocol].
This should include all of the attributes we care about for the time being.
Only the resilience attributes (not designed) and [force_inline] are left
unaccounted for.

Swift SVN r6767
2013-07-30 23:17:12 +00:00

26 lines
486 B
Swift

protocol [class_protocol, objc] ObjCProto {
func doSomething()
}
class [objc] ObjCClass {
static func classMethod() {}
func implicitlyObjC() {}
var [iboutlet] outlet : ObjCClass
func [ibaction] performAction() {}
}
class NonObjCClass : ObjCProto {
func doSomething() {}
func [objc] objcMethod() {}
var [objc] objcProp : ObjCClass
subscript [objc] (i : Int) -> () {
return ()
}
var [iboutlet] outlet : ObjCClass
func [ibaction] performAction() {}
}