Book Image

Swift Cookbook

By : Cecil Costa, Cecil Costa
Book Image

Swift Cookbook

By: Cecil Costa, Cecil Costa

Overview of this book

Table of Contents (18 chapters)
Swift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
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.