Swift Recipes : A Problem-Solution Approach / by T. Michael Rogers
Resource type: Ressourcentyp: Buch (Online)Book (Online)Language: English Series: SpringerLink BücherPublisher: [New York, NY] : Apress, 2015Description: Online-Ressource (XXXIII, 344 p. 63 illus, online resource)ISBN:- 9781484204184
- 004
- QA75.5-76.95
Contents:
Summary: Swift Recipes provides a problem solution approach for dealing with key aspects of the Swift programming language (covering version 1.2), ensuring you have the indispensable reference you need to successfully execute common programming tasks. You’ll learn how to use the unique features of the Swift programming language as well as its use with Cocoa and Cocoa touch frameworks and libraries. Solutions are available for a range of problems, including application development with Xcode; working with strings, numbers, and object collections; dealing with threads, multi-core processing, and asynchronous processing; and building applications that take advantage of dates and timers and memory management. This book is an essential core reference for every Swift programmer and offers solutions in a concise and easy-to-follow manner. T. Michael Rogers has developed iOS applications for Fortune 100 brands and startups, and has trained new and experienced iOS developers via the iOS Boot Camp in New York City, online courses, and in private settings. He brings his expertise to offer you the ability to use and exploit Swift to get the most out of all your projects for your app creations, whether you use iOS or Mac OS XPPN: PPN: 1657486087Package identifier: Produktsigel: ZDB-2-CWD
Contents at a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Swift Programming; 1-1. Getting Started with Swift; Problem; Solution; 1-2. Installing Xcode 6; Problem; Solution; How It Works; 1-3. Working with Playgrounds; Problem; Solution; How It Works; The Code and Usage; 1-4. Designing User Interface Elements in a Storyboard; Problem; Solution; How It Works; The Code and Usage; 1-5. Dealing with Strings; Problem; Solution; How It Works; The Code and Usage; 1-6. Formatting Numbers as Strings; Problem; Solution; How It Works
The Code and Usage1-7. Getting the Length of a Swift String; Problem; Solution; How It Works; The Code and Usage; 1-8. Manipulating Swift Strings; Problem; Solution; How It Works; The Code and Usage; 1-9. Manipulating Strings with Native Swift Methods; Problem; Solution; How It Works; The Code and Usage; 1-10. Storing Strings on the iOS File System; Problem; Solution; How It Works; The Code and Usage; 1-11. Reading a Text File into a String; Problem; Solution; How It Works; The Code and Usage; 1-12. Reading and Writing Text Files in Cocoa; Problem; Solution; How It Works; The Code and Usage
1-13. Dealing with NumbersProblem; Solution; How It Works; The Code and Usage; 1-14. Dealing with Dates; Problem; Solution; How It Works; The Code and Usage; Chapter 2: Complex Types; 2-1. Writing Functions; Problem; Solution; How It Works; The Code and Usage; 2-2. Creating Classes; Problem; Solution; How It Works; The Code and Usage; 2-3. Adding Class Properties; Problem; Solution; How It Works; The Code and Usage; 2-4. Initializing Class Properties; Problem; Solution; How It Works; The Code and Usage; 2-5. Adding Class Methods; Problem; Solution; How It Works; The Code and Usage
2-6. Inheriting from ClassesProblem; Solution; How It Works; The Code and Usage; 2 -7. Implementing Protocols; Problem; Solution; How It Works; The Code and Usage; 2-8. Settin g Property Observers; Problem; Solution; How It Works; The Code and Usage; 2-9. Defining Enumerations; Problem; Solution; How It Works; The Code and Usage; 2-10. Creating Str uctures; Problem; Solution; How It Works; The Code and Usage; 2-11. Using Tuples; Problem; Solution; How It Works; The Code and Usage; Chapter 3: Collections; 3-1. Creating an Array; Problem; Solution; How It Works; The Code and Usage
3-2. Counting the Number of Items in an ArrayProblem; Solution; How It Works; The Code and Usage; 3-3. Managing Items in an Array; Problem; Solution; How It Works; The Code and Usage; 3-4. Searching for Items in an Array; Problem; Solution; How It Works; The Code and Usage; 3-5. Sorting an Array; Problem; Solution; How It Works; The Code and Usage; 3-6. Replacing a Range of Values in an Array; Problem; Solution; How It Works; The Code and Usage; 3-7. Iterating Over an Array; Problem; Solution; How It Works; The Code and Usage; 3-8. Saving an Array to the File System; Problem; Solution
How It Works
No physical items for this record