4 ms·
Swift uses a special "bridging header" to expose Objective-C code to Swift. This header will presumably be processed by the Swift compiler. In the other direct
by quonn 12y ago
Swift uses a special "bridging header" to expose Objective-C code to Swift. This header will presumably be processed by the Swift compiler.
In the other direction, XCode will automatically generate an Objective-C header to expose your Swift code to Objective-C.
- outworlder 12y agoThe ibooks guide references a "Using Swift with Cocoa and Objective-C" document. Is that where you got your information?
- deleted 12y ago[deleted]
- eevilspock 12y agohttps://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/index.html https://developer.apple.com/library/prerelease/ios/documenta... For discussion: https://news.ycombinator.com/item?id=7837468 https://news.ycombinator.com/item?id=7837468