Publisher Description

Swift is a programming language for creating iOS, macOS, watchOS, and tvOS apps. Swift builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to reimagine how software development works.

This book provides:

- A tour of the language.

- A detailed guide delving into each language feature.

- A formal reference for the language.

Computers & Internet
June 2
Apple Inc.
Apple Inc.

Customer Reviews

MathOsGuru ,

Go Directly to Language Reference: The Basics

I previously posted a negative review based on students becoming confused and frustrated while reading the Welcome to Swift section which varies in page count based on your device. Roughly, the first 50+- pages should be avoided if you are completely new to programming. It is a good section for those who have prior programming knowledge but not for beginners. It can confuse beginners so much to cause them to give up all effort on learning Swift. With that said, if you are relatively new to programming, skip to the Language References in the contents and you will get started on The Basics subsection. Follow the book from that point forward, and this book is well worth the read. Kudos to Apple, Inc. for offering this book to the public free of charge.

“Code is merely a steady flow of subjection and reinvention.”


geoffhom ,

Just want a PDF

I really just want a PDF of the latest version, but if it’s out there I can’t find it. I want a PDF for portability and so I can scroll in iBooks. (On a Mac, the only way to view this book is the page-flip method, which is ridiculous for a coding guide.) So yeah, I’d like either the option for PDF or the option to scroll this book in iBooks, or both. It’s a terrible User Experience otherwise. Hence 1 (or 0) stars.

drcoop ,

Saved My Kitten!

Ever since my wife divorced me in '08, I have resulted to fostering kittens that I find wandering my street. So far I have found 3 old kittens, age unknown, and they are the most beautiful and precious creatures that God has ever put on his green Earth. So my poor Jeramiah, a tabby cat I found in my dumpster, found is way into a tree this Saturday. I can admit that I panicked and instantaneously contacted my Mother-in-law, Bethy Quagmire. As I explained to my mother, who was vacationing in the Hawaiian Islands, she stated that I had called the wrong person, and many other rude remarks followed. I then proceeded to call 912 accidentally and realized that I could not remember the emergency number. So I sat there in distress. Then I remembered.... Earlier that morning I had downloaded this iBook. And I had an idea for a simple app that could save my precious Jeramiah. I whipped out my handy desktop computer and set it up in the lawn. I opened my coding programs very carefully, because my hands were jittering uncontrollably due to extreme stress. There was a life on the line. So I began coding an app that would send a message to the authorities stating the issue and space to include several paragraphs to describe it. I was constantly referring to this very useful and well-written document, and I was able to send a message to the authorities. Although they did not receive the message, and my app was never released, the neighbors contacted the police for a possible psychopath. When they arrived, I pointed to my Jeramiah, and they safely got him down from the branch that was a whopping 6 ft from the cold and barren ground. Surprisingly they didn't need a ladder! So I would like to thank you, Apple, for creating this guide that assisted in getting me arrested, but also saving Jeramiah.

More Books by Apple Inc.