
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Swift For Dummies Paperback – 7 April 2015
Brimming with expert advice and easy-to-follow instructions, Swift For Dummies shows new and existing programmers how to quickly port existing Objective-C applications into Swift and get into the swing of the new language like a pro. Designed from the ground up to be a simpler programming language, it's never been easier to get started creating apps for the iPhone or iPad, or applications for Mac OS X.
Inside the book, you'll find out how to set up Xcode for a new Swift application, use operators, objects, and data types, and control program flow with conditional statements. You'll also get the scoop on creating new functions, statements, and declarations, learn useful patterns in an object-oriented environment, and take advantage of frameworks to speed your coding along. Plus, you'll find out how Swift does away with pointer variables and how to reference and dereference variables instead.
- Set up a playground development environment for Mac, iPhone, iPad, and wearable computers
- Move an existing Objective-C program to Swift
- Take advantage of framework components and subcomponents
- Create an app that uses location, mapping, and social media
Whether you're an existing Objective-C programmer looking to port your code to Swift or you've never programmed for Apple in the past, this fun and friendly guide gets you up to speed swiftly.
- ISBN-109788126554898
- ISBN-13978-8126554898
- Edition1st
- PublisherFor Dummies
- Publication date7 April 2015
- LanguageEnglish
- Dimensions18.8 x 1.91 x 23.62 cm
- Print length384 pages
Popular titles by this author
Product description
From the Inside Flap
Learn to:
- Get up and running with Swift on Xcode®
- Set up a playground environment to test Swift syntax quickly
- Collect, declare, and type data
- Create an app that uses location, mapping, and social media
Here’s the Swift solution to learning Apple’s new, simpler programming language
Designed from the ground up to be easier than Objective-C, Swift is expected to become the premier programming language for iPhone, iPad, and Mac apps. Get onboard now with this plain-English guide! Learn to set up Xcode for a new Swift application, start building iPhone and iPad apps, mix and match Objective-C with Swift, and much more.
- Off to a Swift start — get the developer tools, set up your Mac, register as a developer, and plan your environment
- Welcome to the playground — discover the playground environment, where you can write simple or complex code and watch while it executes
- Get your actions together — see how Swift treats actions and function definitions
- Building Swift classes — find out about the initialization and deinitialization features and how Swift expressions are built
- Classes, structures, and enumerations — learn to work with these as well as methods, functions, actions, and protocols
Open the book and find:
- How to combine projects into workspaces
- Steps for creating a playground
- All about Xcode editing tools
- Advice on using constants and variables
- Using internal and external names for parameters
- Tips for working with optional types
- Using the iOS Simulator to test your code
- Ten Swift features that aren’t in Objective-C®
From the Back Cover
Learn to:
- Get up and running with Swift on Xcode®
- Set up a playground environment to test Swift syntax quickly
- Collect, declare, and type data
- Create an app that uses location, mapping, and social media
Heres the Swift solution to learning Apples new, simpler programming language
Designed from the ground up to be easier than Objective-C, Swift is expected to become the premier programming language for iPhone, iPad, and Mac apps. Get onboard now with this plain-English guide! Learn to set up Xcode for a new Swift application, start building iPhone and iPad apps, mix and match Objective-C with Swift, and much more.
- Off to a Swift start get the developer tools, set up your Mac, register as a developer, and plan your environment
- Welcome to the playground discover the playground environment, where you can write simple or complex code and watch while it executes
- Get your actions together see how Swift treats actions and function definitions
- Building Swift classes find out about the initialization and deinitialization features and how Swift expressions are built
- Classes, structures, and enumerations learn to work with these as well as methods, functions, actions, and protocols
Open the book and find:
- How to combine projects into workspaces
- Steps for creating a playground
- All about Xcode editing tools
- Advice on using constants and variables
- Using internal and external names for parameters
- Tips for working with optional types
- Using the iOS Simulator to test your code
- Ten Swift features that arent in Objective-C®
About the Author
Jesse Feiler is a developer, trainer, and author. A veteran developer on all iOS and OS X products, he is also the author of iOS App Development For Dummies. Jesse is heard regularly on “The Roundtable,” a program of WAMC Public Radio for the Northeast.
Product details
- ASIN : 1119022223
- Publisher : For Dummies
- Publication date : 7 April 2015
- Edition : 1st
- Language : English
- Print length : 384 pages
- ISBN-10 : 9788126554898
- ISBN-13 : 978-8126554898
- Item weight : 499 g
- Dimensions : 18.8 x 1.91 x 23.62 cm
- Best Sellers Rank: 848,234 in Books (See Top 100 in Books)
- 137 in Macintosh
- 2,462 in Software Design & Development
- 2,486 in Computing & Internet for Professionals
- Customer reviews:
About the author

Jesse Feiler is an author, developer and consultant specializing in theater and theater history, nonprofit management and Apple technologies. He also consults and advises authors and publishers with Kindle KDP, Ingram Spark and Apple Booka.
His most recent book is The Nonprofit Risk Book with co-author Gail B. Nayowith.
As a consultant; he has worked with small businesses and nonprofits on projects such as production control, publishing, and project management.
He is founder of Friends of Saranac River Trail, Inc. and has served on boards of a number of public libraries in New York State. A native of Washington DC, he has lived in New York City and currently lives in Plattsburgh NY.
A long time friend of actress Uta Hagen and actor/director/teacher Herbert Berghof, he is currently working on a joint biography of the two of them as well as a book about Herbert's directing and acting projects.
Herbert Berghof: Making Theater is now available on Apple Books
Customer reviews
Customer Reviews, including Product Star Ratings, help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from United Kingdom
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United Kingdom on 19 October 2017Okay
- Reviewed in the United Kingdom on 4 October 2016Too basic and not enough detail.
- Reviewed in the United Kingdom on 29 July 2022I am a professional programmer and have been for several years. I can't recommend this book when it comes to learning Swift. It's verbose and frequently meanders into unnecessary historical detail. There are better places to learn Swift than this book.
- Reviewed in the United Kingdom on 4 December 2020The book fails almost on the first hurdle really because of its age the information on xcode set up is just incorrect the software has moved on and most seems to have changed not worth half the price in my opinion
- Reviewed in the United Kingdom on 4 August 2015good beginners book, not finished the tasks yet to describe further, would reccomend
- Reviewed in the United Kingdom on 17 May 2019Completely muddled, in a ridiculous order, focusses on random things that are irrelevant to the readers understanding. By some way the worst attempt at an educational book I have seen. Just do the free apple books they are way better.
I'm astonished jesse is supposed to be a professional trainer when he has no understanding of pedagogical techniques and had no idea what is important to know.
Top reviews from other countries
- JenniferReviewed in the United States on 4 March 2015
5.0 out of 5 stars Great resource for learning Swift.
Excellent book. I haven't finished it yet but it seems good so far. One note, though. It says inside the book that it is recommended for people with some programming background in at least one language, but it didn't specify that on the product information page.
- LauReviewed in Germany on 5 May 2021
1.0 out of 5 stars Crap
Look away
- Faisal B. AlsaadiReviewed in the United States on 26 February 2015
2.0 out of 5 stars A disappointing mess..
I have always been a fan of the For Dummies series but this book has changed that.
The book is a total mess. It's unclear and unorganized, and it clearly does't seem to target a specific audience.
If you're a beginner programmer, do not buy this book. This book assumes that you have some programming knowledge and knowledge with Cocoa Touch frameworks, which is a strange thing in a For Dummies series.
When I started reading this book, I thought that I was reading it backwards. Chapter 4 goes into complex and advance programming with references of the unexplained topics on later chapters. The rest of the book made me feel the same.
The book's chapters are structured as follows:
Chapter 1: Starts with building an app, Locatapp, that uses Cocoa Touch's MapKit
Chapters 2-3: Talks about Xcode environment in way too much details (5 pages on Xcode's code completion feature)
Chapter 4: Jumps into deep coding of the same app introduced in chapter 1 with no explanation at all. The chapter mentions classes, kits, framework, etc.. without explaining them at all. I hardly followed his instructions, which are stated with no explanation whatsoever.
Chapters 5-8: Talk about Swift's syntax and the language itself. It does so in a confusing manner by writing the code in a playground and following the steps provided. Those chapters seem separated from the book, as they do not even mention the app that "should" be built while reading the book.
Chapters 9-18: Continues building the app that was started on chapter 4 and introduces other aspects of Swift in the same time.
Overall, the book jumped from topic to topic, the writer explains straightforward topics in too much details and leaves the complex topics unexplained, the way instructions are given makes building the app a nightmare, and the pictures seemed misplaced in the paperback version.
I do not recommend this book. Both the writer and the editor have to fix those huge mistakes.
- Raed HaedReviewed in the United States on 13 April 2015
3.0 out of 5 stars Good jumping off point for beginners.
I don't know why I keep trying these For Dummies books. I haven't really been very happy with any of them regardless of the topics. I find them to be just a bunch of scattered info with no rhyme or reason. They are never organized the way I think a book like this should be organized. It's not a total loss though. If you're willing to slog through it and hunt for what you're looking for, you can learn a few things. You can learn at least enough to figure out where you want to go from there and if you even like the programming language enough to continue with it. And if you're lucky, you might even be able to figure out how to code a simple app.
I suppose it is a good starting point for beginners, but it won't take long before you'll be wanting an upgrade.
- Ryan P.Reviewed in the United States on 17 March 2016
1.0 out of 5 stars and easy to pick up--that is until I reached the first ...
I'm a software engineer by trade and a Windows DevOps guy by accident. I picked this up in order to begin learning Mac programming on my personal MacBook Pro. I've always had the highest respect for Dummies books and after opening it tonight everything seemed just as I'd expect: straight forward, to the point, and easy to pick up--that is until I reached the first project. I did everything as directed and ended up a very different file/folder structure than the book indicated. After some frustration I went to[...]t, per page 4 of the book, to download the source thinking I was just missing something in my old age but there was very little there, certainly no chapters or source code (if it is I can't find it). After reading the reviews here it may simply be the book I bought barely a month ago and the XCode compiler I installed last week aren't compatible. Seriously? I can read a book on .NET 2.0 and the basics still apply today but the Swift IDE changed so much over the past month I can't even do the first exercise much less attempt to run the ?online? version of the project? If true, the publisher should have immediately updated the book and removed these grossly outdated copies from Amazon. Dummies, for the first time I'd like my money back. :(