Swift Recipes A Problem-Solution Approach
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...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress
2015.
|
Edición: | 1st ed. 2015. |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629960406719 |
Tabla de Contenidos:
- 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