Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Swift

You're reading from   Learning Swift Build a solid foundation in Swift to develop smart and robust iOS and OS X applications

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher Packt
ISBN-13 9781784392505
Length 266 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Andrew J Wagner Andrew J Wagner
Author Profile Icon Andrew J Wagner
Andrew J Wagner
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Introducing Swift FREE CHAPTER 2. Building Blocks – Variables, Collections, and Flow Control 3. One Piece at a Time – Types, Scopes, and Projects 4. To Be or Not to Be – Optionals 5. A Modern Paradigm – Closures and Functional Programming 6. Make Swift Work for You – Protocols and Generics 7. Everything is Connected – Memory Management 8. Writing Code the Swift Way – Design Patterns and Techniques 9. Harnessing the Past – Understanding and Translating Objective-C 10. A Whole New World – Developing an App 11. What's Next? Resources, Advice, and Next Steps Index

What this book covers

Chapter 1, Introducing Swift, takes you through the process of installing Swift and running your first Swift program to expose its power right away.

Chapter 2, Building Blocks – Variables, Collections, and Flow Control, introduces you to the various built-in mechanisms Swift has to represent complex information in expressive and accessible ways with the help of a real-world example.

Chapter 3, One Piece at a Time – Types, Scopes, and Projects, introduces the tools necessary to more closely model the real world with code. It will teach you to define your own custom types using structures, classes, and enumerations. It also explores the concept of scope and access control.

Chapter 4, To Be or Not to Be – Optionals, focuses on a special and critical type in Swift called optionals. It includes a detailed explanation of how optionals work and how they can be used to turn a seemingly complex topic into a very intuitive concept.

Chapter 5, A Modern Paradigm – Closures and Functional Programming, introduces you to a new way of thinking about code called functional programming. We learn how Swift supports this technique and how we can apply it to our programs to make them even more understandable and expressive code.

Chapter 6, Make Swift Work for You – Protocols and Generics, describes what generic protocols are and how they can provide power and safety at the same time.

Chapter 7, Everything is Connected – Memory Management, discusses how a computer stores information and how we can use that knowledge in combination with some new tools in Swift, to ensure that our code remains responsive and minimizes its effect on battery life. In this chapter, we dive deeper into the inner workings of Swift.

Chapter 8, Writing Code the Swift Way – Design Patterns and Techniques, introduces you to the art of programming by taking you through a number of specific design patterns that help reduce the complexity of code.

Chapter 9, Harnessing the Past – Understanding and Translating Objective-C, develops a basic understanding of Objective-C with a focus on how it compares to Swift. This allows you to make use of the vast resources that exist in Objective-C to help with your Swift development.

Chapter 10, A Whole New World – Developing an App, explains the process of creating a real-world iOS application with the help of an example.

Chapter 11, What's Next? Resources, Advice, and Next Steps, discusses how to move forward to become the best app developer you possibly can. It will also provide you with a list of resources you can use to continue your Swift and app development learning process.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image