{"product_id":"9780134021560","title":"Swift for Programmers","description":"\u003cp\u003e \u003cb\u003eThe professional programmer’s Deitel\u003csup\u003e®\u003c\/sup\u003e guide to Apple’s new Swift programming language for the iOS\u003csup\u003e®\u003c\/sup\u003e and OS X\u003csup\u003e®\u003c\/sup\u003e platforms\u003c\/b\u003e \u003c\/p\u003e \u003cp\u003e¿\u003c\/p\u003e \u003cp\u003eWritten for programmers with a background in object-oriented programming in a C-based language like Objective-C, Java, C# or C++, this book applies the Deitel signature live-code approach with scores of complete, working, real-world programs to explore the new Swift language in depth. The code examples feature syntax shading, code highlighting, rich commenting, line-by-line code walkthroughs and live program outputs. The book features thousands of lines of proven Swift code, and tips that will help you build robust applications.\u003c\/p\u003e \u003cp\u003e¿\u003c\/p\u003e \u003cp\u003eStart with an introduction to Swift using an early classes and objects approach, then rapidly move on to more advanced topics. When you master the material, you’ll be ready to build industrial-strength object-oriented Swift applications.\u003c\/p\u003e \u003cp\u003e \u003cbr\u003e \u003c\/p\u003e \u003cp\u003e \u003cb\u003eAbout This Book\u003c\/b\u003e \u003c\/p\u003e \u003cp\u003e¿\u003c\/p\u003e \u003cp\u003eThe Swift\u003csup\u003e™\u003c\/sup\u003e programming language was arguably the most significant announcement at Apple’s 2014 Worldwide Developers Conference. Although apps can still be developed in Objective-C\u003csup\u003e®\u003c\/sup\u003e, Apple says that Swift is its applications programming and systems programming language of the future.\u003c\/p\u003e \u003cp\u003e¿\u003c\/p\u003e \u003cp\u003eSwift is a contemporary language with simpler syntax than Objective-C. Because Swift is new, its designers were able to include popular programming language features from languages such as Objective-C, Java\u003csup\u003e™\u003c\/sup\u003e, C#, Ruby, Python\u003csup\u003e®\u003c\/sup\u003e and many others. These features include automatic reference counting (ARC), type inference, optionals, String interpolation, tuples, closures (lambdas), extensions, generics, operator overloading, functions with multiple return values, switch statement enhancements and more. We’ve been able to develop apps more quickly in Swift than with Objective-C and the code is shorter, clearer and runs faster on today’s multi-core architectures.\u003c\/p\u003e \u003cp\u003e¿\u003c\/p\u003e \u003cp\u003eSwift also eliminates the possibility of many errors common in other languages, making your code more robust and secure. Some of these error-prevention features include no implicit conversions, ARC, no pointers, required braces around every control statement’s body, assignment operators that do not return values, requiring initialization of all variables and constants before they’re used, array bounds checking, automatic checking for overflow of integer calculations, and more. You can combine Swift and Objective-C in the same app to enhance existing Objective-C apps without having to rewrite all the code. Your apps will easily be able to interact with the Cocoa\u003csup\u003e®\u003c\/sup\u003e\/Cocoa Touch\u003csup\u003e®\u003c\/sup\u003e frameworks, which are largely written in Objective-C.\u003c\/p\u003e \u003cp\u003e¿\u003c\/p\u003e \u003cp\u003eYou can also use the new Xcode playgrounds with Swift. A playground is an Xcode window in which you can enter Swift code that compiles and executes as you type it. This allows you to see and hear your code’s results as you write it, quickly find and fix errors, and conveniently experiment with features of Swift and the Cocoa\/Cocoa Touch frameworks.\u003c\/p\u003e \u003cp\u003e¿\u003c\/p\u003e \u003cp\u003ePractical, Example-Rich Coverage of:\u003c\/p\u003e \u003cul\u003e \u003cli\u003eClasses, Objects, Methods, Properties\u003c\/li\u003e \u003cli\u003eInitializers, Deinitializers, Bridging\u003c\/li\u003e \u003cli\u003eTuples, Array and Dictionary Collections\u003c\/li\u003e \u003cli\u003eStructures, Enumerations, Closures, ARC\u003c\/li\u003e \u003cli\u003eInheritance, Polymorphism, Protocols\u003c\/li\u003e \u003cli\u003eType Methods, Type Properties\u003c\/li\u003e \u003cli\u003eGenerics; Strings and Characters\u003c\/li\u003e \u003cli\u003eOperator Overloading, Operator Functions, Custom Operators, Subscripts\u003c\/li\u003e \u003cli\u003eAccess Control; Type Casting and Checking\u003c\/li\u003e \u003cli\u003eNested Types, Nested Methods\u003c\/li\u003e \u003cli\u003eOptionals, Optional Chaining, Extensions\u003c\/li\u003e \u003cli\u003eXcode, Playgrounds, Intro to Cocoa Touch\u003csup\u003e®\u003c\/sup\u003e with a Fully Coded iOS\u003csup\u003e®\u003c\/sup\u003e 8 Tip Calculator App\u003c\/li\u003e \u003cli\u003eOverflow Operators, Attributes, Patterns\u003c\/li\u003e \u003cli\u003eMore topics online\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003e¿\u003c\/p\u003e  \u003cb\u003eIMPORTANT NOTE ABOUT XCODE AND SWIFT\u003c\/b\u003e: With Xcode 6.3 and Swift 1.2, Apple introduced several changes in Swift that affect the book's source code. Please visit \u003ci\u003ewww.deitel.com\/books\/iOS8FP1\u003c\/i\u003e for updated source code. The changes do not affect Xcode 6.2  users.  You can download Xcode 6.2 from \u003ci\u003edeveloper.apple.com\/downloads\/index.action\u003c\/i\u003e (you’ll have to log in with your Apple developer account to see the list of downloads). ¿\u003cp\u003eVisit www.deitel.com\u003c\/p\u003e \u003cul\u003e \u003cli\u003eDownload code examples\u003c\/li\u003e \u003cli\u003eFor information on Deitel’s Dive Into\u003csup\u003e®\u003c\/sup\u003e Series programming training courses delivered at organizations worldwide visit www.deitel.com\/training or to deitel@deitel.com\u003c\/li\u003e \u003cli\u003eJoin the Deitel social networking communities on Facebook\u003csup\u003e®\u003c\/sup\u003e at facebook.com\/DeitelFan, Twitter\u003csup\u003e®\u003c\/sup\u003e at @deitel, Google+\u003csup\u003e™\u003c\/sup\u003e at google.com\/+DeitelFan, LinkedIn\u003csup\u003e®\u003c\/sup\u003e at bit.ly\/DeitelLinkedIn, YouTube™ at youtube.com\/user\/DeitelTV and subscribe to the Deitel\u003csup\u003e®\u003c\/sup\u003e Buzz Online e-mail newsletter at www.deitel.com\/newsletter\/ subscribe.html\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003e¿\u003c\/p\u003e","brand":"Pearson Education","offers":[{"title":"Default Title","offer_id":47077473779952,"sku":"9780134021560","price":31.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0737\/7593\/9824\/files\/9780134021560_p0.jpg?v=1763641245","url":"https:\/\/shop-qa.barnesandnoble.com\/products\/9780134021560","provider":"Barnes \u0026 Noble (DEV)","version":"1.0","type":"link"}