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

Chapter 4. Design Patterns with Swift

In this chapter, we will cover the following topics:

  • Writing into a log file

  • Creating a factory of musical notes

  • Simulating a home automation

  • Delivering some pizzas