Beginning Swift Programming
eBook - ePub

Beginning Swift Programming

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Beginning Swift Programming

About this book

Enter the Swift future of iOS and OS X programming

Beginning Swift Programming is your ideal starting point for creating Mac, iPhone, and iPad apps using Apple's new Swift programming language. Written by an experienced Apple developer and trainer, this comprehensive guide explains everything you need to know to jumpstart the creation of your app idea. Coverage includes data types, strings and characters, operators and functions, arrays and dictionaries, control flow, and looping, with expert guidance on classes, objects, class inheritance, closures, protocols, and generics. This succinct — yet complete — overview provides a detailed introduction to the core features of Swift.

Apple developed Swift to address the limitations of Objective-C, and add features found in more complex languages like Python. The results is simpler, cleaner, more expressive code with automatic memory management, functional programming patterns, and more, including built-in features that make Swift apps faster, scalable, and more secure. This book explains it all, helping developers master Apple's new language.

  • Become fluent with syntax that's easier to read and maintain
  • Understand inferred types for cleaner, less mistake-prone code
  • Learn the key features that make Swift more expressive than Objective-C
  • Learn the new optional types in Swift that make your code more resilient
  • Understand the key design patterns in iOS and Mac OS programming using protocols and delegates
  • Learn how to use generics to create highly reusable code
  • Learn the new access controls mechanism in Swift

Get up to speed quickly to remain relevant and ahead of the curve.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Beginning Swift Programming by Wei-Meng Lee in PDF and/or ePUB format, as well as other popular books in Computer Science & Software Development. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Wrox
Year
2014
Print ISBN
9781119009313
eBook ISBN
9781119009320

Table of contents

  1. Cover
  2. INTRODUCTION
  3. CHAPTER 1 INTRODUCTION TO SWIFT
  4. CHAPTER 2 DATA TYPES
  5. CHAPTER 3 STRINGS AND CHARACTERS
  6. CHAPTER 4 BASIC OPERATORS
  7. CHAPTER 5 FUNCTIONS
  8. CHAPTER 6 COLLECTIONS
  9. CHAPTER 7 CONTROL FLOW AND LOOPING
  10. CHAPTER 8 STRUCTURES AND CLASSES
  11. CHAPTER 9 INHERITANCE
  12. CHAPTER 10 CLOSURES
  13. CHAPTER 11 PROTOCOLS AND DELEGATES
  14. CHAPTER 12 GENERICS
  15. APPENDIX EXERCISE ANSWERS
  16. TITLEPAGE
  17. COPYRIGHT
  18. DEDICATION
  19. ABOUT THE AUTHOR
  20. ABOUT THE TECHNICAL EDITOR
  21. CREDITS
  22. ACKNOWLEDGMENTS
  23. ADVERT
  24. END USER LICENSE AGREEMENT