Head First Swift

- Autorzy:
- Paris Buttfield-Addison, Jon Manning
- Promocja Przejdź


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 438
- Dostępne formaty:
-
ePubMobi
Opis książki: Head First Swift
What will you learn from this book?
Swift is best known as Apple's programming language of choice for developing apps on iOS, iPadOS, macOS, watchOS, and tvOS. But it's far more versatile than that. Open source Swift is also gaining ground as a language for systems programming and server-side code, and it runs on Linux and Windows. So where do you start? With Head First Swift, you'll explore from the ground up: from collecting and controlling data to reusing code, producing custom data types, and structuring programs and user interfaces with SwiftUI by building safe, protocol-driven code. With Swift under your belt, you'll be ready to build everything from mobile and web apps to games, frameworks, command-line tools, and beyond.
What's so special about this book?
If you've read a Head First book, you know what to expect--a visually rich format designed for the way your brain works. If you haven't, you're in for a treat. With this book, you'll learn Swift through a multisensory experience that engages your mind rather than a text-heavy approach that puts you to sleep.
Paris Buttfield-Addison, Jon Manning - pozostałe książki
-
Simulation and synthesis are core parts of the future of AI and machine learning. Consider: programmers, data scientists, and machine learning engineers can create the brain of a self-driving car without the car. Rather than use information from the real world, you can synthesize artificial data ...(203.15 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
Create and implement AI-based features in your Swift apps for iOS, macOS, tvOS, and watchOS. With this practical book, programmers and developers of all kinds will find a one-stop shop for AI and machine learning with Swift. Taking a task-based approach, you’ll learn how to build features t...
Practical Artificial Intelligence with Swift. From Fundamental Theory to Development of AI-Driven Apps Practical Artificial Intelligence with Swift. From Fundamental Theory to Development of AI-Driven Apps
(203.15 zł najniższa cena z 30 dni)203.15 zł
239.00 zł(-15%) -
Discover how to use the Unity game engine to its full potential for both 3D and 2D game development—from the basics of scripting to useful tricks in gameplay, behavior, and animation. With this problem-solving cookbook, you’ll get started in two ways:First, you’ll learn about th...
Unity Game Development Cookbook. Essentials for Every Game Unity Game Development Cookbook. Essentials for Every Game
(203.15 zł najniższa cena z 30 dni)203.15 zł
239.00 zł(-15%) -
Ready to make amazing games for the iPhone and iPad? With Apple’s Swift programming language, it’s never been easier. This updated cookbook provides detailed recipes for managing a wide range of common iOS game-development issues, ranging from 2D and 3D math, SpriteKit, and OpenGL to ...
iOS Swift Game Development Cookbook. Simple Solutions for Game Development Problems. 3rd Edition iOS Swift Game Development Cookbook. Simple Solutions for Game Development Problems. 3rd Edition
(203.15 zł najniższa cena z 30 dni)203.15 zł
239.00 zł(-15%) -
W tej książce w wyczerpujący sposób opisano proces tworzenia gier. Wyjaśniono tu zarówno podstawowe, jak i bardziej zaawansowane pojęcia i techniki związane ze stosowaniem środowiska Unity. Najpierw przedstawiono podstawowe informacje na temat Unity. Zaprezentowano struktury gier, grafiki, skrypt...(33.50 zł najniższa cena z 30 dni)
40.20 zł
67.00 zł(-40%) -
Get valuable hands-on experience with Swift, the open source programming language developed by Apple. With this practical guide, skilled programmers with little or no knowledge of Apple development will learn how to code with the latest version of Swift by developing a working iOS app from start ...
Learning Swift. Building Apps for macOS, iOS, and Beyond. 3rd Edition Learning Swift. Building Apps for macOS, iOS, and Beyond. 3rd Edition
(169.15 zł najniższa cena z 30 dni)169.15 zł
199.00 zł(-15%) -
Do you want to build mobile games, but lack game development experience? No problem. This practical guide shows you how to create beautiful, interactive content for iOS and Android devices with the Unity game engine.Authors Jon Manning and Paris Buttfield-Addison (iOS Swift Game Development Cookb...
Mobile Game Development with Unity. Build Once, Deploy Anywhere Mobile Game Development with Unity. Build Once, Deploy Anywhere
(169.15 zł najniższa cena z 30 dni)169.15 zł
199.00 zł(-15%) -
Kerbal Space Program (KSP) is a critically acclaimed, bestselling space flight simulator game. It’s making waves everywhere from mainstream media to the actual space flight industry, but it has a bit of a learning curve. In this book, five KSP nerds—including an astrophysicist—t...
The Kerbal Player's Guide. The Easiest Way to Launch a Space Program The Kerbal Player's Guide. The Easiest Way to Launch a Space Program
(135.15 zł najniższa cena z 30 dni)135.15 zł
159.00 zł(-15%) -
Apple Watch is the sort of science-fiction gadget that people used to dream about as kids. What kinds of apps do you envision for this new device? If you’re comfortable using OS X, Xcode, and iOS—and familiar with Swift—this concise book shows you the basics of building your own...
Swift Development for the Apple Watch. An Intro to the WatchKit Framework, Glances, and Notifications Swift Development for the Apple Watch. An Intro to the WatchKit Framework, Glances, and Notifications
(80.74 zł najniższa cena z 30 dni)80.74 zł
94.99 zł(-15%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- ISBN Ebooka:
- 978-14-919-2320-7, 9781491923207
- Data wydania ebooka:
-
2021-11-18
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 43.0MB
- Rozmiar pliku Mobi:
- 68.2MB
Spis treści książki
- Table of Contents (the real thing)
- how to use this book: Intro
- Who is this book for?
- Who should probably back away from this book?
- Who is this book for?
- We know what youre thinking
- We know what your brain is thinking
- Metacognition: thinking about thinking
- Heres what WE did
- Heres what YOU can do to bend your brain into submission
- Read me
- The technical review team
- OReilly Online Learning
- Acknowledgments
- 1. Introducing Swift: Apps, Systems, and Beyond!
- Swift is a language for everything
- The swift evolution of Swift
- Swift into the future
- How youre going to write Swift
- The path youll be taking
- Getting Playgrounds
- Downloading and installing Playgrounds on macOS
- Creating a Playground
- Using a Playground to code Swift
- Basic building blocks
- A Swift example
- Heres what you need to build
- The print function
- 1 Building a list of ingredients
- 2 Picking four random ingredients
- 3 Displaying our random pizza
- Congrats on your first steps with Swift!
- Swiftcross
- Swiftcross Solution
- 2. Swift by Name: Swift by Nature
- Building from the blocks
- Basic operators
- Operating swiftly with mathematics
- Express yourself
- Expressing yourself
- Names and types: peas in a pod
- Not all data is numbers
- These are all types
- Swift Safety
- Stringing things along with types
- Who am I?
- String interpolation
- Swiftcross
- Swiftcross Solution
- Who am I Solution?
- 3. Collecting and Controlling: Going Loopy for Data
- Sorting pizzas
- Swift collection types
- Collecting values in an array
- How big is that array, exactly? Is it empty?
- Collecting values in a set
- Collecting values in a dictionary
- Tuples
- Everyone needs a good alias
- Control flow statements
- if statements
- switch statements
- Building a switch statement
- Start with the switch keyword
- Range operators
- More complex switch statements
- Getting repetitive with loops
- Building a for loop
- Building a while loop
- Building a repeat-while loop
- Solving the pizza-sorting problem
- Phew, thats a lot of Swift!
- Code Magnets
- Pool Puzzle
- BE the Swift Compiler
- Swiftcross
- Code Magnets Solution
- Pool Puzzle Solution
- BE the Swift Compiler Solution
- Swiftcross Solution
- 4. Functions and Enums: Reusing Code on Demand
- Functions in Swift let you reuse code
- What can functions do?
- Functions in Swift let you reuse code
- Built-in functions
- What can we learn from built-in functions?
- Improving the situation with a function
- Writing the body of the function
- Using functions
- Functions deal in values
- Many happy returns (from your functions)
- But Swift is meant to make things simple...
- A variable number of parameters
- Fireside Chats
- What can you pass to a function?
- Every function has a type
- Function types as parameter types
- Multiple return types
- Fireside Chats
- Functions dont have to stand alone
- Nested functions
- Switching with enums
- Functioncross
- Functioncross Solution
- 5. Closures: Fancy, Flexible Functions
- Meet the humble closure
- Closures are better with parameters
- Boiling it all down to something useful
- The problem
- The solution
- Reducing with closures
- Capturing values from the enclosing scope
- What came first, the function or the closure?
- Escaping closures: the contrived example
- Autoclosures provide flexibility
- The situation
- The problem
- The solution
- Shorthand argument names
- Closurecross
- BE the Swift Compiler
- Closurecross Solution
- BE the Swift Compiler Solution
- 6. Structures, Properties, and Methods: Custom Types and Beyond
- Lets make a pizza, in all its glory...
- A Pizza struct
- Lets make a pizza, in all its glory...
- Under the hood...
- The initializer behaves just like a function
- Access control and structs
- Methods inside structures
- Changing properties using methods
- Computed properties
- Creating a property observer
- Code Magnets
- Getters and setters for computed properties
- Implementing a setter
- Swift Strings are actually structs
- The case for lazy properties
- Using lazy properties
- Structcross
- Structcross Solution
- Code Magnets Solution
- 7. Classes, Actors, and Inheritance: Inheritance Is Always a Thing
- A struct by any other name (that name: a class)
- Inheritance and classes
- Replacing Overriding methods
- Heres our Plant class:
- Heres our Succulent child class, overriding a method of the parent:
- Under the hood...
- Final classes
- Automatic reference counting
- Mutability
- Beware
- Swift Safety
- Fireside Chats
- BE the Swift Compiler
- Pool Puzzle
- Classcross
- Pool Puzzle Solution
- BE the Swift Compiler Solution
- Classcross Solution
- 8. Protocols and Extensions: A Swift Lesson in Protocol
- The Robot Factory
- The problem:
- A solution:
- The Robot Factory
- Protocol inheritance
- Mutating methods
- Protocol types and collections
- Computed properties in extensions
- Useful extensions and you
- Adding an initializer (with an extension)
- Extending a protocol
- Useful protocols and you
- Protocol composition
- Conforming to Swifts protocols
- Sequences
- Conforming to Sequence and IteratorProtocol:
- Using your new sequence:
- Equatable
- The problem
- Conforming to Equatable:
- Implementing ==
- Code Magnets
- Protocolcross
- BE the Swift Compiler
- Code Magnets Solution
- Protocolcross Solution
- BE the Swift Compiler Solution
- 9. Optionals, Unwrapping, Generics, and More: Nothing Optional About It
- Optionals Exposed
- Dealing with something thats missing
- The problem
- Why you might need an optional
- The struct for Josh is good, it represents Josh reasonably well: Josh is named Josh, and theyve consumed 5 coffees.
- But the struct for Tom doesnt really represent them. They havent really consumed 0 coffees; they dont drink it at all.
- Optionals and handling missing data
- A Person
- Alex and Tom
- Unwrapping optionals
- Unwrapping optionals with guard
- Using guard let to unwrap an optional:
- Force unwrapping
- Swift Safety
- BE the Swift Compiler
- Swift Safety
- Generics
- Queue requirements
- A queue with generics
- Heres our new Queue type
- Using your Queue
- Optionalcross
- Optionalcross Solution
- BE the Swift Compiler Solution
- 10. Getting Started With Swiftui: User InterfacesSwiftly
- Whats a UI framework, anyway?
- Your first SwiftUI UI
- UI building blocks
- Making a list, checking itquite a few times, to get it perfect
- User interfaces with state
- Buttons are for pressing
- Lets see how far youve come
- Customizing your views with modifiers
- Using view modifiers:
- Order matters (sometimes):
- Create a new SwiftUI Xcode project, for iOS
- Your Xcode will look something like this
- Create a new type to store a todo item in
- Make sure each todo item can be uniquely identified
- Create a user interface for the app
- Whats going on in this user interface?
- Create a user interface for the app, continued, continued
- Making the List actually list todos
- Test Drive
- Implement a way to save the list of todos
- So, thats a UI framework?
- SwiftUIcross
- Pool Puzzle
- BE the Swift Compiler
- SwiftUIcross Solution
- Pool Puzzle Solution
- BE the Swift Compiler Solution
- 11. Putting Swiftui into Practice: Circles, Timers, ButtonsOh My!
- What fancy things can be done with a UI framework?
- Create a new SwiftUI Xcode project, for iOS
- The Executive Timer UI and features
- This is what our Executive Timer UI will look like, and do:
- And this is what the UI will look like in the various different states:
- Creating the basic elements of the app
- Pieces of the UI
- Setting up the UI of the Executive Timer
- Coding the pieces of the UI
- 1 Coding the gray circle
- 2 Coding the gray circle
- 3 Coding the time and buttons
- Combining the three elements
- The finishing touches
- Test Drive
- Tabbed views for a clean UI
- 1 Create however many different views you need (to live in tabs)
- 2 Build a TabView containing your views
- The resulting tabs
- If you created three views, and a TabView containing them, you might end up here:
- Creating a new tabbed ContentView
- Creating the tabs and the TabView
- 1 Create an empty TimerSettingsView view
- 2 Add the second tab to the TabView in the ContentView
- Were basically done! The Executive Timer now has tabs:
- Running your new tabbed Executive Timer
- SwiftUIcross
- SwiftUIcross Solution
- 12. Apps, web, and Beyond: Putting It All Together
- A journey must end...
- A recipe for a welcome screen
- Step by step assembly of the welcome screen
- Smash Share the state
- Its time for our old friend...
- Heres a type that represents the score of a game:
- Heres some views that use our class:
- Building an app with multiple views that share state
- Heres the first view of our hypothetical app:
- Heres the second view of our hypothetical app:
- Building a two-view score tracker
- Heres what well need to do:
- The ObservableObject
- The first view
- The second view
- The first view, again
- A fancy AsyncImage
- Like this:
- We do this:
- Meet Vapor, the Swift web framework
- 1 You can make a new Vapor project with the following command:
- 2 Change into the Vapor projects directory with this command:
- 3 Then run this to open the new Vapor project in Xcode:
- Sending data over the web with Vapor
- 1 Create a new closure, with a dynamic parameter:
- 2 Add a guard let to unwrap the optional parameter:
- 3 Return what you need to return
- 4 Visit your new URL
- SwiftUIcross
- SwiftUIcross
- SwiftUIcross Solution
- Index
O'Reilly Media - inne książki
-
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(0,00 zł najniższa cena z 30 dni)
296.65 zł
349.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(0,00 zł najniższa cena z 30 dni)262.65 zł
309.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
DevOps engineers, developers, and security engineers have ever-changing roles to play in today's cloud native world. In order to build secure and resilient applications, you have to be equipped with security knowledge. Enter security as code.In this book, authors BK Sarthak Das and Virginia Chu d...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
With the increasing use of AI in high-stakes domains such as medicine, law, and defense, organizations spend a lot of time and money to make ML models trustworthy. Many books on the subject offer deep dives into theories and concepts. This guide provides a practical starting point to help develop...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why are so many companies adopting GitOps for their DevOps and cloud native strategy? This reliable framework is quickly becoming the standard method for deploying apps to Kubernetes. With this practical, developer-oriented book, DevOps engineers, developers, IT architects, and SREs will learn th...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Learn the essentials of working with Flutter and Dart to build full stack applications that meet the needs of a cloud-driven world. Together, the Flutter open source UI software development kit and the Dart programming language for client development provide a unified solution to building applica...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Head First Swift Paris Buttfield-Addison, Jon Manning (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.