Mastering iOS 11 Programming
Second Edition
Build professional-grade iOS applications with Swift 4 and Xcode 9
Donny Wals
BIRMINGHAM - MUMBAI
Mastering iOS 11 Programming
Second Edition
Copyright 2017 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: December 2016
Second edition: October 2017
Production reference: 1251017
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78839-823-7
www.packtpub.com
Credits
Author Donny Wals | Project Coordinator Sheejal Shah |
Reviewer Alexandre Freire Garca | Proofreader Safis Editing |
Acquisition Editor Nitin Dasan | Indexer Rekha Nair |
Contente Development Editor Sreeja Nair | Graphics Jason Monteiro |
Technical Editor Surabhi Kulkarni | Production Coordinator Melwyn D'sa |
Copy Editor Safis Editing |
About the Author
Donny Wals is a passionate, curious, developer from The Netherlands. Ever since he started his communications and multimedia design studies in Amsterdam, he knew that he didn't just want to build great websites and apps, but also transfer knowledge to his peers and newcomers. He got involved with coaching, mentoring, and assisting in his freshman year.
During his final two years at college, he's been a teacher in web development and spent most of his free time exploring iOS and Objective-C. When Swift was first announced, it didn't take long for him to start playing around with it, and after just a few months of learning and experimenting Donny became the lead iOS developer for the start-up where he'd been working at the time.
As an active member of the iOS-developers Slack community, Donny is always up for helping out people with their code and sharing his own knowledge with his peers.
First and foremost, I would like to thank Dorien for putting up with me while writing this book. She has not only accepted that I spent many hours working on this book instead of spending time with her, even during a much-deserved holiday to the Belgian Ardennes, but she actively supported and encouraged me constantly.
Also, I want to thank my parents, friends and everybody that has given me advice, feedback, tips and sometimes some much-needed distraction while writing this book. I wouldnt have been able to finish this book without all the wonderful people around me supporting me.
A big thank you goes out to Smeet Thakkar for reaching out to me about writing this book. In addition to Smeet, I also want to thank Sreeja Nair for all the hard work and guidance while working on this book.
Lastly, I want to thank you. If youre reading this, you are one of the people that make it possible for me have the amazing adventure of writing this book for you.
About the Reviewer
Alexandre Freire is the reviewer of this book. He is a Spanish iOS developer and the author of several software development courses. At the young age of 26, Alexandre sold his own startup (Apparcar). When he is not coding, you can usually find him supporting Deportivo de A Corua--his favourite football team--or exploring the most beautiful landscapes of Galicia with his family. You can connect to Alexandre on Twitter at @xandrefreire.
www.PacktPub.com
For support files and downloads related to your book, please visit www.PacktPub.com .
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details.
At www.PacktPub.com , you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
https://www.packtpub.com/mapt
Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career.
Why subscribe?
- Fully searchable across every book published by Packt
- Copy and paste, print, and bookmark content
- On demand and accessible via a web browser
Customer Feedback
Thanks for purchasing this Packt book. At Packt, quality is at the heart of our editorial process. To help us improve, please leave us an honest review on this book's Amazon page at https://www.amazon.com/dp/ 1788398238 .
If you'd like to join our team of regular reviewers, you can email us at customerreviews@packtpub.com. We award our regular reviewers with free eBooks and videos in exchange for their valuable feedback. Help us be relentless in improving our products!
Preface
When Apple launched Swift in 2014, the iOS ecosystem became more accessible than it had ever been for developers. Being able to write apps with Swift's beautiful, readable, and straightforward syntax instead of having to write clunky Objective-C code suddenly enabled a lot of people to play around with iOS development. For me, Swift sparked a renewed interest in developing iOS applications, and the new passion has remained ever since.
This book will hopefully transfer some of that passion to you. This book is written to match my personal preferred way of learning, which is learning by doing. In this book, you'll find examples of applications that you might actually want to build some day. The problems that are tackled in this book are real and practical. This book doesn't cover every single framework that you can use in your apps; there are simply way too many. Instead, the focus is on understanding how you can navigate Apple's documentation, how you can refactor your code, and how you can solve real-world development problems.
Next page