Summary
In this chapter, we have extensively covered many different aspects of writing and maintaining code bases that share Objective-C and Swift code. Now you should be able to use Swift classes in Objective-C and import your Objective-C classes to Swift, as well as write safe Objective-C with the help of nullability annotations. Not only can your Objective-C code, and should, be safer, with the help of nullability annotations, but you will also tailor your method names so they feel natural in Swift. Lastly, lightweight generics should hold no secrets for you.
With all of these powerful tools in mind, we can continue our journey to the next step: creational design patterns.
Now the design pattern journey can begin. We have prepared ourselves ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access