SYS-CON MEDIA Authors: Stackify Blog, Zakia Bouachraoui, Elizabeth White, Pat Romanski, Liz McMillan

Blog Feed Post

Swift in 24 Hours, Sams Teach Yourself Book Review

This book has Beginning to Intermediate on the back cover. I would recommend you put that into the context of learning Swift, not learning Object-Oriented Programming. The book does an excellent job of covering the Swift language in detail and it jumps right in after a short introduction to the available development environments - Xcode, playgrounds, and REPL (Read-Eval-Print-Loop). REPL is kind of a command line version of playgrounds running in terminal.

The introduction is hour 1. There are 24 hour long lessons. I have listed the lessons below to show you what is covered.

Hour 1. Introducing the Swift Development Environment
Hour 2. Learning Swift’s Fundamental Data Types
Hour 3. Using Operators in Swift
Hour 4. Working with Collection Types
Hour 5. Understanding Optional Values
Hour 6. Controlling Program Flow with Conditionals
Hour 7. Iterating Code with Loops
Hour 8. Using Functions to Perform Actions
Hour 9. Understanding Higher Order Functions and Closures
Hour 10. Learning About Structs and Classes
Hour 11. Implementing Class Inheritance
Hour 12. Harnessing the Power of Enums
Hour 13. Customizing Initializers of Classes, Structs, and Enums
Hour 14. Digging Deeper with Properties
Hour 15. Adding Advanced Type Functionality
Hour 16. Understanding Memory Allocation and References
Hour 17. Using Protocols to Define Behavior
Hour 18. Using Extensions to Add Type Functionality
Hour 19. Working with Optional Chaining
Hour 20. Introducing Generics
Hour 21. Adding Interoperability with Objective-C
Hour 22. Interacting with User Interfaces
Hour 23. Asynchronous Programming in Swift
Hour 24. Learning Swift’s Standard Library Functions

The hour's titles do a great job of describing exactly what is covered. Sometimes authors like to use goofy chapter titles that need interpreted, but not in this book. Having the topics broken down into individual chapters makes this book a good reference.

Although you can jump into any topic, the book's chapters do build on each other. If you can, I would recommend reading the book cover to cover and then keep it around as a reference.

Each topic is thoroughly explained but the author did a really great job of keeping the chapters short enough that they can be read in an hour. I have had many "in 24 Hours" books and many of them had 2 hour chapters. This book is definitely the lunch break book.

I am reading four books on Swift before moving on to iOS 8. This might seem like over kill since I have spent a lot of time in Objective-C, but this is what I do to learn when I am trying to learn something I am not using at work. I am not that quick or smart, so I need to repeatedly pound stuff into my head for it to stick.

Although I started all four books at the same time this is the second one that I started running away with and finished. The reason for that is this one is in the middle of them as far as being robust goes, but it still contains straight to the point content. No filler at all.

What made this one a little more robust than the first one I read was each chapter end with a Q&A section, a Workshop- Quiz with answers, and an Exercise. These really help to drive home the topics covered in the chapter.

The book comes with all the examples available for download. They are all in playgrounds, except the last 3 chapters, which are in projects. The examples organized by chapter.

This is not an iOS 8 book, it is a Swift language book, so don't expect to be building apps at the end of the book. Although, you can expect to get started with iOS 8 when you are done this book.

As I mentioned above the author says you do not need prior programming experience to get through the examples in the book. He is probably right because he does a really good job of walking the reader through them. However, if you have no prior programming experience, you are going to have to pick up some books on Object-Oriented Programming before moving on to iOS 8.

All in all, I found the book a pleasure to read. The author's writing style is great, and the chapters were the perfect size to read over lunch. I recommend having your Mac with you when you are reading it. A few times I used an online swift compiler to run through some of the examples. I only had my iPad with me.

If you are interested in learning Swift, this is a great place to start!!

Swift in 24 Hours, Sams Teach Yourself

Swift in 24 Hours, Sams Teach Yourself

Read the original blog entry...

More Stories By Tad Anderson

Tad Anderson has been doing Software Architecture for 18 years and Enterprise Architecture for the past few.

Latest Stories
Using serverless computing has a number of obvious benefits over traditional application infrastructure - you pay only for what you use, scale up or down immediately to match supply with demand, and avoid operating any server infrastructure at all. However, implementing maintainable and scalable applications using serverless computing services like AWS Lambda poses a number of challenges. The absence of long-lived, user-managed servers means that states cannot be maintained by the service. Lo...
Today most companies are adopting or evaluating container technology - Docker in particular - to speed up application deployment, drive down cost, ease management and make application delivery more flexible overall. As with most new architectures, this dream takes significant work to become a reality. Even when you do get your application componentized enough and packaged properly, there are still challenges for DevOps teams to making the shift to continuous delivery and achieving that reducti...
GCP Marketplace is based on a multi-cloud and hybrid-first philosophy, focused on giving Google Cloud partners and enterprise customers flexibility without lock-in. It also helps customers innovate by easily adopting new technologies from ISV partners, such as commercial Kubernetes applications, and allows companies to oversee the full lifecycle of a solution, from discovery through management.
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
Docker and Kubernetes are key elements of modern cloud native deployment automations. After building your microservices, common practice is to create docker images and create YAML files to automate the deployment with Docker and Kubernetes. Writing these YAMLs, Dockerfile descriptors are really painful and error prone.Ballerina is a new cloud-native programing language which understands the architecture around it - the compiler is environment aware of microservices directly deployable into infra...
10ZiG Technology is a leading provider of endpoints for a Virtual Desktop Infrastructure environment. Our fast and reliable hardware is VMware, Citrix and Microsoft ready and designed to handle all ranges of usage - from task-based to sophisticated CAD/CAM users. 10ZiG prides itself in being one of the only companies whose sole focus is in Thin Clients and Zero Clients for VDI. This focus allows us to provide a truly unique level of personal service and customization that is a rare find in th...
Signs of a shift in the usage of public clouds are everywhere. Previously, as organizations outgrew old IT methods, the natural answer was to try the public cloud approach; however, the public platform alone is not a complete solution. Complaints include unpredictable/escalating costs and mounting security concerns in the public cloud. Ultimately, public cloud adoption can ultimately mean a shift of IT pains instead of a resolution. That's why the move to hybrid, custom, and multi-cloud will ...
In his session at 20th Cloud Expo, Mike Johnston, an infrastructure engineer at, will discuss how to use Kubernetes to setup a SaaS infrastructure for your business. Mike Johnston is an infrastructure engineer at with over 12 years of experience designing, deploying, and maintaining server and workstation infrastructure at all scales. He has experience with brick and mortar data centers as well as cloud providers like Digital Ocean, Amazon Web Services, and Rackspace....
Between the mockups and specs produced by analysts, and resulting applications built by developers, there exists a gulf where projects fail, costs spiral, and applications disappoint. Methodologies like Agile attempt to address this with intensified communication, with partial success but many limitations. In his session at @DevOpsSummit at 19th Cloud Expo, Charles Kendrick, CTO at Isomorphic Software, presented a revolutionary model enabled by new technologies. Learn how business and develop...
Using serverless computing has a number of obvious benefits over traditional application infrastructure - you pay only for what you use, scale up or down immediately to match supply with demand, and avoid operating any server infrastructure at all. However, implementing maintainable and scalable applications using serverless computing services like AWS Lambda poses a number of challenges. The absence of long-lived, user-managed servers means that states cannot be maintained by the service. Lo...
Serverless applications increase developer productivity and time to market, by freeing engineers from spending time on infrastructure provisioning, configuration and management. Serverless also simplifies Operations and reduces cost - as the Kubernetes container infrastructure required to run these applications is automatically spun up and scaled precisely with the workload, to optimally handle all runtime requests. Recent advances in open source technology now allow organizations to run Serv...
With the rise of Docker, Kubernetes, and other container technologies, the growth of microservices has skyrocketed among dev teams looking to innovate on a faster release cycle. This has enabled teams to finally realize their DevOps goals to ship and iterate quickly in a continuous delivery model. Why containers are growing in popularity is no surprise — they’re extremely easy to spin up or down, but come with an unforeseen issue. However, without the right foresight, DevOps and IT teams may lo...
Docker is sweeping across startups and enterprises alike, changing the way we build and ship applications. It's the most prominent and widely known software container platform, and it's particularly useful for eliminating common challenges when collaborating on code (like the "it works on my machine" phenomenon that most devs know all too well). With Docker, you can run and manage apps side-by-side - in isolated containers - resulting in better compute density. It's something that many developer...
The use of containers by developers -- and now increasingly IT operators -- has grown from infatuation to deep and abiding love. But as with any long-term affair, the honeymoon soon leads to needing to live well together ... and maybe even getting some relationship help along the way. And so it goes with container orchestration and automation solutions, which are rapidly emerging as the means to maintain the bliss between rapid container adoption and broad container use among multiple cloud host...
Take advantage of autoscaling, and high availability for Kubernetes with no worry about infrastructure. Be the Rockstar and avoid all the hurdles of deploying Kubernetes. So Why not take Heat and automate the setup of your Kubernetes cluster? Why not give project owners a Heat Stack to deploy Kubernetes whenever they want to? Hoping to share how anyone can use Heat to deploy Kubernetes on OpenStack and customize to their liking. This is a tried and true method that I've used on my OpenSta...