3 ms·
It takes a few days to learn enough Swift to start coding in it. Just start adding new Swift methods to your Objective C classes by using extensions extension
by melling 11y ago
It takes a few days to learn enough Swift to start coding in it. Just start adding new Swift methods to your Objective C classes by using extensions
extension MyViewController {
func fooAction(sender:AnyObject) {
}
}
You need a bridging header to call back to ObjC
Very few people are blogging or writing books with ObjC. It's mostly Swift, and has been since June 2014:
http://www.h4labs.com/dev/ios/swift.html http://www.h4labs.com/dev/ios/swift.html