Book Image

Swift Cookbook

Book Image

Swift Cookbook

Overview of this book

If you are an experienced Objective-C programmer and are looking for quick solutions to many different coding tasks in Swift, then this book is for you. You are expected to have development experience, though not necessarily with Swift.
Table of Contents (13 chapters)
12
Index

Introduction


Swift is a new language in a world of libraries that are already complete. Sometimes you need the help of other languages, without which you might need to spend a lot of time creating the functionalities that you want.

As you might know, since the seventies, C is the default language independently of the platform you want to develop on. There are thousands or maybe millions of libraries written in C, and you can find a lot of them that are open source, which makes it easier to port them to your iOS or Mac OS project.

In this chapter, you will learn how to use external languages on a Swift project. Here, we are going to see how to use C, C++, and even assembly code.