Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Zafirópulos, Yanis, author.

Title Swift 4 recipes : hundreds of useful hand-picked code snippets / c Yanis Zafirópulos. [O'Reilly electronic resource]

Publication Info. [New York, NY] : Apress, [2019]
QR Code
Description 1 online resource
text file
PDF
Summary Get the most out of Swift 4 with this carefully compiled collection of select code snippets designed to solve everyday coding problems. This book features the Apress easy-to-use recipe format, with step-by-step instructions, and a no-fuss approach. You'll explore a wide range of topics, all neatly organized according to the language's own core elements and building blocks. You'll review common topics such as conditionals, loops, functions, classes, closures, and arrays. This book also includes recipes to some more advanced problems found in files, system programming, and algorithms. With Swift 4 Recipes, your programming problems are easily resolved, without wading through paragraphs of text.
Contents Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Part I: Beginner; Chapter 1: Introduction; 1-1. Getting Familiar with Swift; Problem; Solution; How It Works; Executing It; Compiling It; 1-2. Scripting in Swift; Problem; Solution; How It Works; 1-3. Summary; Chapter 2: Basics; 2-1. Create a Hello World; Problem; Solution; How It Works; 2-2. Declare variables; Problem; Solution; How It Works; 2-3. Declare constants; Problem; Solution; How It works; 2-4. Declare multiple variables; Problem; Solution; How It Works
2-5. Declare Unicode constants and variablesProblem; Solution; How It Works; 2-6. Declare a range; Problem; Solution; How It Works; 2-7. Define an enumeration type; Problem; Solution; How It Works; 2-8. Define a type alias; Problem; Solution; How It Works; 2-9. Use semicolons; Problem; Solution; How It Works; 2-10. Use comments; Problem; Solution; How It Works; 2-11. Summary; Chapter 3: Conditionals; 3-1. Write an if statement; Problem; Solution; How It Works; 3-2. Write an if/else statement; Problem; Solution; How It Works; 3-3. Write multiple if/else/if statements; Problem; Solution
How It Works3-4. Write a switch statement; Problem; Solution; How It Works; 3-5. Write a switch statement with intervals; Problem; Solution; How It Works; 3-6. Write a switch statement with enumeration values; Problem; Solution; How It Works; 3-7. Write a switch statement with compound cases; Problem; Solution; How It Works; 3-8. Write a switch statement with tuples; Problem; Solution; How It Works; 3-9. Write a switch statement with value bindings; Problem; Solution; How It Works; 3-10. Use the ternary conditional operator; Problem; Solution; How It Works
3-11. Use the nil coalescing operatorProblem; Solution; How It Works; 3-12. Use the logical and operator; Problem; Solution; How It Works; 3-13. Use the logical not operator; Problem; Solution; How It Works; 3-14. Use the logical or operator; Problem; Solution; How It Works; 3-15. Use the logical xor operator; Problem; Solution; How It Works; 3-16. Summary; Chapter 4: Loops; 4-1. Write a for loop; Problem; Solution; How It Works; 4-2. Write a while loop; Problem; Solution; How It Works; 4-3. Write a repeat-while loop; Problem; Solution; How It Works; 4-4. Summary; Chapter 5: Functions
5-1. Define and call a functionProblem; Solution; How It Works; 5-2. Define and call a function with arguments; Problem; Solution; How It Works; 5-3. Define and call a function with argument labels; Problem; Solution; How It Works; 5-4. Define and call a function without argument labels; Problem; Solution; How It Works; 5-5. Define and call a function with default parameter values; Problem; Solution; How It Works; 5-6. Define and call a function with return value; Problem; Solution; How It Works; 5-7. Define and call a function with multiple return values; Problem; Solution; How It Works
Subject Swift (Computer program language)
Swift (Langage de programmation)
Swift (Computer program language)
Other Form: Print version: Zafirópulos, Yanis. Swift 4 Recipes : Hundreds of Useful Hand-Picked Code Snippets. Berkeley, CA : Apress L.P., ©2018 9781484241813
ISBN 9781484241820 (electronic book)
1484241827 (electronic book)
9781484241837 (print)
1484241835
9781484248423 (print)
1484248422
Standard No. 10.1007/978-1-4842-4182-0 doi
10.1007/978-1-4842-4
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information