Book Image

Swift Essentials - Second Edition

By : Alex Blewitt
Book Image

Swift Essentials - Second Edition

By: Alex Blewitt

Overview of this book

Swift was considered one of the biggest innovations last year, and certainly with Swift 2 announced at WWDC in 2015, this segment of the developer space will continue to be hot and dominating. This is a fast-paced guide to provide an overview of Swift programming and then walks you through in detail how to write iOS applications. Progress through chapters on custom views, networking, parsing and build a complete application as a Git repository, all by using Swift as the core language
Table of Contents (17 chapters)
Swift Essentials Second Edition
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

Summary


In this chapter, we looked at several different ways to create views in iOS. The first approach was to use Interface Builder to build the view graphically and analyze 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 you how to use networking APIs in iOS to download networked data.