Book Image

Swift Cookbook

Book Image

Swift Cookbook

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