Book Image

Learning Swift Second Edition - Second Edition

By : Andrew J Wagner
Book Image

Learning Swift Second Edition - Second Edition

By: Andrew J Wagner

Overview of this book

Swift is Apple’s new programming language and the future of iOS and OS X app development. It is a high-performance language that feels like a modern scripting language. On the surface, Swift is easy to jump into, but it has complex underpinnings that are critical to becoming proficient at turning an idea into reality. This book is an approachable, step-by-step introduction into programming with Swift for everyone. It begins by giving you an overview of the key features through practical examples and progresses to more advanced topics that help differentiate the proficient developers from the mediocre ones. It covers important concepts such as Variables, Optionals, Closures, Generics, and Memory Management. Mixed in with those concepts, it also helps you learn the art of programming such as maintainability, useful design patterns, and resources to further your knowledge. This all culminates in writing a basic iOS app that will get you well on your way to turning your own app ideas into reality.
Table of Contents (19 chapters)
Learning Swift Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Summary


This app is far from being something that we could put on the store, but it gives you a good first dive into what it is like to build an iOS app. We have covered how to conceptualize an app and then how to go about making it a reality. We know how to configure an interface in a storyboard, how to run it, and we got into the practical details of saving photos both temporarily and permanently to disk and displaying those in our own custom interface. We even got some practice writing high quality code by ensuring our code sticks with the model-view-controller design pattern as best we can.

Even though we have covered a lot, this clearly isn't enough information to immediately write any other iOS app. The key is to get an insight into what the app development process looks like and to start to feel more comfortable in an iOS app project. All developers spend lots of time searching the documentation and the Internet for how to do specific things on any given platform. The key is being...