Book Image

Swift Essentials

By : Alex Blewitt, Bandlem Limited
Book Image

Swift Essentials

By: Alex Blewitt, Bandlem Limited

Overview of this book

Table of Contents (16 chapters)
Swift Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we looked at several different ways of how to create views in iOS. The first approach was to use interface builder to build the view graphically and some of the problems that this can cause. We then looked at subclassing UIView and adding other views to build up a custom view. Finally, we presented two different ways of drawing custom graphics; first with drawRect and subsequently with layers.

The next chapter will show how to use networking APIs in iOS to download networked data.