Your New Best Friend:
The Bridging Header
It imports Swift classes into Obj-C.
Slide 9
Slide 9 text
Point to custom Bridging Header in Build Settings
Slide 10
Slide 10 text
Where do I Start?
Slide 11
Slide 11 text
But, Can I Import Swift
Back Into Obj-C?
Yes! But it works totally differently. ಠ_ಠ
Slide 12
Slide 12 text
The Compatibility Header
Your new second-best friend.
Slide 13
Slide 13 text
Let’s Demo!
http://bit.ly/objc2swiftdemo
Slide 14
Slide 14 text
Gotchas!
● Be careful of custom Obj-C types in Swift
arguments
● May need to cast primitive types to/from
plain-C APIs
● Obj-C/Swift bridges may still be buggy