Swift for Programmers (Deitel Developer)

3.5 avg rating
( 10 ratings by GoodReads )
 
9780134021362: Swift for Programmers (Deitel Developer)

The professional programmer’s Deitel® guide to Apple’s new Swift programming language for the iOS® and OS X® platforms

¿

Written 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.

¿

Start 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.


About This Book

¿

The Swift™ programming language was arguably the most significant announcement at Apple’s 2014 Worldwide Developers Conference. Although apps can still be developed in Objective-C®, Apple says that Swift is its applications programming and systems programming language of the future.

¿

Swift 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™, C#, Ruby, Python® 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.

¿

Swift 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®/Cocoa Touch® frameworks, which are largely written in Objective-C.

¿

You 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.

¿

Practical, Example-Rich Coverage of:

  • Classes, Objects, Methods, Properties
  • Initializers, Deinitializers, Bridging
  • Tuples, Array and Dictionary Collections
  • Structures, Enumerations, Closures, ARC
  • Inheritance, Polymorphism, Protocols
  • Type Methods, Type Properties
  • Generics; Strings and Characters
  • Operator Overloading, Operator Functions, Custom Operators, Subscripts
  • Access Control; Type Casting and Checking
  • Nested Types, Nested Methods
  • Optionals, Optional Chaining, Extensions
  • Xcode, Playgrounds, Intro to Cocoa Touch® with a Fully Coded iOS® 8 Tip Calculator App
  • Overflow Operators, Attributes, Patterns
  • More topics online

¿

IMPORTANT NOTE ABOUT XCODE AND SWIFT: With Xcode 6.3 and Swift 1.2, Apple introduced several changes in Swift that affect the book's source code. Please visit www.deitel.com/books/iOS8FP1 for updated source code. The changes do not affect Xcode 6.2 users. You can download Xcode 6.2 from developer.apple.com/downloads/index.action (you’ll have to log in with your Apple developer account to see the list of downloads).

¿

Visit www.deitel.com

  • Download code examples
  • For information on Deitel’s Dive Into® Series programming training courses delivered at organizations worldwide visit www.deitel.com/training or to deitel@deitel.com
  • Join the Deitel social networking communities on Facebook® at facebook.com/DeitelFan, Twitter® at @deitel, Google+™ at google.com/+DeitelFan, LinkedIn® at bit.ly/DeitelLinkedIn, YouTube™ at youtube.com/user/DeitelTV and subscribe to the Deitel® Buzz Online e-mail newsletter at www.deitel.com/newsletter/ subscribe.html

¿

"synopsis" may belong to another edition of this title.

Product Description:

Swift for Programmers is a programming-language focused book designed to get practicing programmers up-to-speed quickly in Swift programming. The Deitels¿provide thousands of lines of proven Swift code in the book, using a mix of code snippets and live-code examples. When they present code snippets rather than full-length complete programs, the snippet will be extracted from a Deitel-created, compiled, live-code example to ensure that the snippet is correct.

The coverage is very broad, including everything from the basics of constants, variables, types and strings to key OOP topics including inheritance and polymorphism to advanced topics such as Generics, Extensions and Patterns.

Product Description:

Swift for Programmers teaches Apple’s new Swift programming language using the Deitel signature live-code approach. It features numerous complete Swift programs with thousands of lines of proven code.

Begin with an introduction to Swift using an early classes and objects approach, then moves on to more advanced topics, including closures, tuples, arrays, dictionaries, stored and computed properties, initialization, deinitialization, structures, enumerations, inheritance, polymorphism, protocols, generics, operator overloading, optionals and optional chaining, extensions, patterns and more.

"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

International Edition
International Edition

1.

Deitel, Paul; Deitel, Harvey
Published by Prentice Hall
ISBN 10: 0134021363 ISBN 13: 9780134021362
New PAPERBACK Quantity Available: 15
International Edition
Seller
Ben's Book Shop
(Wilmington, DE, U.S.A.)
Rating
[?]

Book Description Prentice Hall. PAPERBACK. Book Condition: New. 0134021363 International Edition Paperback OR Softcover Edition with Same Contents. Fast Delivery. Book Cover and ISBN may be different from the US Edition. Customer satisfaction guaranteed. Bookseller Inventory # INDMRK-9789332552357

More Information About This Seller | Ask Bookseller a Question

Buy New
9.24
Convert Currency

Add to Basket

Shipping: 3.25
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

2.

Deitel, Paul; Deitel, Harvey
ISBN 10: 0134021363 ISBN 13: 9780134021362
New PAPERBACK Quantity Available: 7
International Edition
Seller
Stock Tiger
(New Delhi, DELHI, India)
Rating
[?]

Book Description PAPERBACK. Book Condition: New. PAPERBACK INTERNATIONAL EDITION Brand New Book. The ISBN-13 or Cover might be different but content is extactly same. We deliver in 5 - 9days and respond quickly to customer queries. We don't ship to APO and FPO addresses. Bookseller Inventory # Book-0134021363

More Information About This Seller | Ask Bookseller a Question

Buy New
9.54
Convert Currency

Add to Basket

Shipping: 3.31
From India to U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

3.

Deitel, Paul; Deitel, Harvey
Published by Prentice Hall
ISBN 10: 0134021363 ISBN 13: 9780134021362
New Softcover Quantity Available: > 20
International Edition
Seller
Sunshine Book Store
(Wilmington, DE, U.S.A.)
Rating
[?]

Book Description Prentice Hall. Book Condition: New. 0134021363 This is an International Edition. Brand New, Paperback, Delivery within 6-14 business days, Similar Contents as U.S Edition, ISBN and Cover design may differ, printed in Black & White. Choose Expedited shipping for delivery within 3-8 business days. We do not ship to PO Box, APO , FPO Address. In some instances, subjects such as Management, Accounting, Finance may have different end chapter case studies and exercises. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" and "Content may different from U.S. Edition" - printed only to discourage U.S. students from obtaining an affordable copy. The U.S. Supreme Court has asserted your right to purchase international editions, and ruled on this issue. Access code/CD is not provided with these editions , unless specified. We may ship the books from multiple warehouses across the globe, including India depending upon the availability of inventory storage. Customer satisfaction guaranteed. Bookseller Inventory # MI9789332552357

More Information About This Seller | Ask Bookseller a Question

Buy New
13.84
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

4.

Deitel, Paul; Deitel, Harvey
Published by Prentice Hall
ISBN 10: 0134021363 ISBN 13: 9780134021362
New Softcover Quantity Available: > 20
International Edition
Seller
Sunshine Book Store
(Wilmington, DE, U.S.A.)
Rating
[?]

Book Description Prentice Hall. Book Condition: New. 0134021363 This is an International Edition. Brand New, Paperback, Delivery within 6-14 business days, Similar Contents as U.S Edition, ISBN and Cover design may differ, printed in Black & White. Choose Expedited shipping for delivery within 3-8 business days. We do not ship to PO Box, APO , FPO Address. In some instances, subjects such as Management, Accounting, Finance may have different end chapter case studies and exercises. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" and "Content may different from U.S. Edition" - printed only to discourage U.S. students from obtaining an affordable copy. The U.S. Supreme Court has asserted your right to purchase international editions, and ruled on this issue. Access code/CD is not provided with these editions , unless specified. We may ship the books from multiple warehouses across the globe, including India depending upon the availability of inventory storage. Customer satisfaction guaranteed. Bookseller Inventory # MU9780134021362

More Information About This Seller | Ask Bookseller a Question

Buy New
13.84
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

5.

Deitel, Paul; Deitel, Harvey
ISBN 10: 0134021363 ISBN 13: 9780134021362
New Soft cover First Edition Quantity Available: > 20
International Edition
Seller
LOW COST_FAST SHIP
(Scottsdale, AZ, U.S.A.)
Rating
[?]

Book Description Soft cover. Book Condition: New. Opt EXPEDITED shipping for 2 to 4 day delivery - Brand NEW - International Edition - 1ed - SAME Contents as in US edition - SHRINKwrapped BOXpacked - There is no CD or Access Code, unless specified above - Ships from various locations. Bookseller Inventory # DP3

More Information About This Seller | Ask Bookseller a Question

Buy New
9.72
Convert Currency

Add to Basket

Shipping: 4.89
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

6.

Deitel, Paul; Deitel, Harvey
ISBN 10: 0134021363 ISBN 13: 9780134021362
New Softcover First Edition Quantity Available: > 20
International Edition
Seller
GREAT BOOKS DEAL
(TALLAHASSEE, FL, U.S.A.)
Rating
[?]

Book Description Softcover. Book Condition: New. 1st edition. Brand New; Paperback; Black & White or Color International Edition. ISBN and Cover page may differ but similar contents as US edition. GET IT FAST in 3-5 business days by DHL/FEDEX with tracking number. Books printed in English. No shipping to PO Box/APO/FPO address. In some instances, the international textbooks may have different end chapter case studies and exercises. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" and "Content may different from U.S. Edition" - printed only to discourage U.S. students from obtaining an affordable copy. The U.S. Supreme Court has asserted your right to purchase international editions, and ruled on this issue. Access code or CD is not provided with these editions, unless specified. We may ship the books from multiple warehouses across the globe, including India depending upon the availability of inventory storage. Customer satisfaction guaranteed. Bookseller Inventory # GBBD150905

More Information About This Seller | Ask Bookseller a Question

Buy New
14.03
Convert Currency

Add to Basket

Shipping: 3.10
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

7.

Deitel, Paul; Deitel, Harvey
ISBN 10: 0134021363 ISBN 13: 9780134021362
New Softcover Quantity Available: 15
International Edition
Seller
US_Superfast_Bookstore
(New Castle, DE, U.S.A.)
Rating
[?]

Book Description Book Condition: New. This is an International Edition Brand New Paperback Same Title Author and Edition as listed. ISBN and Cover design differs. Similar Contents as U.S Edition. Standard Delivery within 6-14 business days ACROSS THE GLOBE. We can ship to PO Box address in US. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" or "For sale in Asia only" or similar restrictions- printed only to discourage students from obtaining an affordable copy. US Court has asserted your right to buy and use International edition. Access code/CD may not provided with these editions. We may ship the books from multiple warehouses across the globe including Asia depending upon the availability of inventory. Printed in English. Customer satisfaction guaranteed. Bookseller Inventory # PS_9780134021362

More Information About This Seller | Ask Bookseller a Question

Buy New
11.62
Convert Currency

Add to Basket

Shipping: 6.24
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

8.

Deitel, Paul; Deitel, Harvey
ISBN 10: 0134021363 ISBN 13: 9780134021362
New Paperback Quantity Available: 5
International Edition
Seller
PRIORITY BOOKS
(springfield, VA, U.S.A.)
Rating
[?]

Book Description Paperback. Book Condition: New. Softcover Book, Condition: New. 1st Edition. [Please Read Carefully Before Buying], This Is An International Edition. Printed In Black and White. 400 Pages, Book Cover And ISBN No May Be Different From US Edition. Restricted Sales Disclaimer Wordings Not For Sales In USA And Canada May Be Printed On The Cover Of The Book. Standard Shipping 7-14 Business Days. Expedited Shiping 4-8 Business Days. ***WE DO NOT ENTERTAIN BULK ORDERS.*** The Books May Be Ship From Overseas For Inventory Purpose. Bookseller Inventory # 527654

More Information About This Seller | Ask Bookseller a Question

Buy New
15.25
Convert Currency

Add to Basket

Shipping: 3.25
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

9.

Deitel, Paul; Deitel, Harvey
ISBN 10: 0134021363 ISBN 13: 9780134021362
New Paperback Quantity Available: 5
International Edition
Seller
Nick Book House
(fresno, CA, U.S.A.)
Rating
[?]

Book Description Paperback. Book Condition: New. New Softcover International Edition, Printed in Black and White, Different ISBN, Same Content As US edition, Book Cover may be Different, in English Language. Bookseller Inventory # 33001

More Information About This Seller | Ask Bookseller a Question

Buy New
15.30
Convert Currency

Add to Basket

Shipping: 3.25
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

10.

Deitel, Paul; Deitel, Harvey
ISBN 10: 0134021363 ISBN 13: 9780134021362
New Quantity Available: > 20
International Edition
Seller
Bookshub
(Karol Bagh, India)
Rating
[?]

Book Description Book Condition: New. New. SoftCover International edition. Different ISBN and Cover image but contents are same as US edition.Perfect condition. Ship by express service to USA, Canada, Australia, France, Italy, UK, Germany and Netherland. Customer satisfaction our priority. Bookseller Inventory # ABE-190516-141036

More Information About This Seller | Ask Bookseller a Question

Buy New
19.65
Convert Currency

Add to Basket

Shipping: FREE
From India to U.S.A.
Destination, Rates & Speeds

There are more copies of this book

View all search results for this book