Free Downloads
The Swift Developer's Cookbook (includes Content Update Program) (Developer's Library)

In The Swift Developer’s Cookbook, renowned author Erica Sadun joins powerful strategies with ready-to-use Swift code for solving everyday development challenges. As in all of Sadun’s programming best-sellers, The Swift Developer’s Cookbook translates modern best practices into dozens of well-tested, easy-to-apply solutions. This book’s code examples were created in response to real-world questions from working developers to reflect Swift’s newest capabilities and best practices. Each chapter groups related tasks together. You can jump straight to your solution without having to identify the right class or framework first. Sadun covers key Swift development concepts, shows you how to write robust and efficient code, and helps you avoid common pitfalls other developers struggle with. She offers expert strategies for working with this immensely powerful language, taking into account Swift’s rapid evolution and its migration tools. Whether you’re moving to modern Swift from Objective-C, from older versions of the Swift language, or from the world of non-Apple languages, this guide will help you master both the “how” and “why” of effective Swift development. Industry recruiters are scrambling to find Swift developers who can solve real problems and produce effective working code. Get this book, and you’ll be ready. Coverage includes Writing effective Swift code that communicates clearly and coherently to the compiler, your team, and to “future you,” who will be maintaining this code Using Xcode to handle changes in Swift’s language constructs as the language evolves Building feedback, documentation, and output to meet your development and debugging needs Making the most of optionals and their supporting constructs Using closures to encapsulate state and functionality and treat actions as variables for later execution Leveraging control flow with innovative Swift-specific statements Working with all Swift types: classes, enumerations, and structures Using generics and protocols to build robust code that expands functionality beyond single types Making the most of the powerful Swift error system Working with innovative features such as array indexing, general subscripting, statement labels, custom operators, and more This book is part of the Pearson Content Update Program (CUP). As the technology changes, sections of this book will be updated or new sections will be added. The updates will be delivered to you via a free Web Edition of this book, which can be accessed with any Internet connection.

Series: Developer's Library

Paperback: 240 pages

Publisher: Addison-Wesley Professional; 1 edition (December 19, 2015)

Language: English

ISBN-10: 0134395263

ISBN-13: 978-0134395265

Product Dimensions: 7 x 0.6 x 8.8 inches

Shipping Weight: 13.4 ounces (View shipping rates and policies)

Average Customer Review: 3.6 out of 5 stars  See all reviews (14 customer reviews)

Best Sellers Rank: #1,158,800 in Books (See Top 100 in Books) #95 in Books > Computers & Technology > Programming > Functional #146 in Books > Computers & Technology > Programming > Languages & Tools > Swift #236 in Books > Computers & Technology > Programming > Apple Programming

tl;drIn sum, if you are a moderately experienced in Objective-C, this petite volume covers basically the same ground as Apple’s Swift Programming Language, but written in a problem-solution style, with the added value of her non-Apple perspective — oh, and did I mention that she does this all in 1/3 of the space (~200 pages to SPL’s 600+). The title “Swift for the Really Impatient” is apparently already taken, but would fit this book quite well. Highly recommended, if you’re her target audience.----Are you an Objective-C developer looking for an advanced primer to dive into Swift? Then look no further. Erica Saudi’s slim volume is densely packed with well-written code that tersely explains (a) how to do Objective-C tasks in Swift syntax, and (b) how to avoid that road, and take advantage of Swift to accomplish those tasks Swift-ly.Those who have read her other books, such as iOS Autolayout Demystified, or follow her blog, know you are in good hands with a professional who has a deep and intimate knowledge of the inner workings of the Cocoa APIs, and like a good tour guide, can point out common hazards to avoid as she takes you on the safe path. Moreover, she provides ‘historical’ context about what came before. And throughout are little gems of humor.*This book is not for everyone, but it may very well be for you. It is certainly not for fresh beginners, and it is not for someone looking to learn iOS programming or APIs. Myself, I have been programming in Objective-C for about a year now, and just completed my first Swift project when I got my hands on the book, which I saw as a time-saving alternative to scouring the tech-blogosphere and weeding out the Swift 1.x stuff from the Swift 2.x.

Full disclosure. I was given a copy of this book to review.Overall, it is a decent book introducing most of the core concepts of Swift, but I struggle to find who should buy this book. The preface says it is written for "programmers both experienced and new" and I think this lack of focus hurts the reading experience.The second chapter, "Printing and Mirroring", is by far the most interesting part. It presents new information that I haven't seen discussed anywhere else, and gives some great ideas about how to debug in Swift. In my opinion, it is exactly what this book should be about: semi-advanced, practical tips for programmers of all levels.But then it quickly devolves into a standard explanation of the Swift programming language. The following chapters each explain a particular concept in a way that is both too verbose and too shallow. Beginners will find themselves reading about overly specific situations, and experienced programmers will maybe find one genuinely interesting tidbit every 10 pages.Reading this book, I found myself wondering how many pages I could skip before getting to a part that would actually be interesting to me. But it is not structured in a way that allowed me to do this: original content is interspersed between basic explanations.Laying out the meaning of every technical term before it is used would have made the writing a lot clearer and more rigorous. Instead, the difference between value types and reference types is only discussed in the penultimate chapter.Even simple things like "variable", "value", "literal", "constant" should have been clearly defined at the beginning. Without this, the explanation of the semantics of a new feature is muddier and harder to understand.

The Swift Developer's Cookbook (includes Content Update Program) (Developer's Library) Apple Watch and iPhone Fitness Tips and Tricks (includes Content Update Program) Computer Basics Absolute Beginner's Guide, Windows 10 Edition (includes Content Update Program) (8th Edition) My Windows 10 Tablet (includes Content Update Program): Covers Windows 10 Tablets including Microsoft Surface Pro (My...) My Windows 10 Computer for Seniors (includes Video and Content Update Program) OS X Support Essentials 10.11 - Apple Pro Training Series (includes Content Update Program): Supporting and Troubleshooting OS X El Capitan Windows 10 In Depth (includes Content Update Program) Windows 10 Tips and Tricks (includes Content Update Program) My OneNote 2016 (includes Content Update Program) SWIFT: PROGRAMMING ESSENTIALS (Bonus Content Included): Learn iOS development! Code and design apps with Apple's New programming language TODAY (iOS development, swift programming) The Joy of Swift: How to program iOS applications using Apple Swift even if you've never programmed before The iOS 5 Developer's Cookbook: Core Concepts and Essential Recipes for iOS Programmers (Developer's Library) App Development: Swift Programming : Java Programming: Learn In A Day! (Mobile Apps, App Development, Swift, Java) Understanding Swift Programming: Swift 2 with Hands-on Online Exercises iOS 9 Programming Fundamentals with Swift: Swift, Xcode, and Cocoa Basics Swift and Python Programming Guide: Programming Language For Beginners: Learn in a Day! Box Set Collection (Swift, Python, JAVA, C++. PHP) Swift: Crash Course - The Ultimate Beginner's Course to Learning Swift Programming in Under 12 Hours The Hodges Harbrace Handbook, 2009 MLA Update Edition (2009 MLA Update Editions) The Eating Disorders Update: Understanding Anorexia, Bulimia, and Binge Eating (Disease Update) Oku: Sports Medicine 3: Orthopaedic Knowledge Update (Orthopedic Knowledge Update)