Prix bas
CHF41.20
Habituellement expédié sous 3 semaines.
Informationen zum Autor Wei-Meng Lee (Singapore) is founder of Developer Learning Solutions, a firm specializing in hands-on training for software developers. He teaches courses in mobile development, blockchain, machine learning, and AI. He is author of a number of books, including Beginning Swift Programming (Wiley). Klappentext The simplest way to create world-class appsHave a unique app idea but worried you don't quite have the coding skills to build it? Good news: You can stop fretting about someone beating you to market with the same idea and start work right now using SwiftUI. SwiftUI is a gateway app development framework that has become one of the best ways for fledgling developers to get iOS apps off the ground without having to become a coding expert overnight.SwiftUI For Dummies makes that process even faster, providing a friendly introduction to the SwiftUI and Swift programming language and helping you feel right at home creating and building with playgrounds. The book also covers the frameworks and APIs that make it so easy to create smooth, intuitive interfaces--just dive right in and have fun! Combine projects into workspaces Employ Xcode editing tools Use constants and variables Test your code on iOS SimulatorTime is of the essence, and with SwiftUI For Dummies, it's also on your side. Get going with this friendly guide today, and you'll be celebrating the successful launch of your app way before you thought possible! Zusammenfassung Create the app of your dreams with SwiftUIYou have that sweet! sweet app idea but think you don't yet have the coding skills to build it? Don't fret about someone beating you to it: get going with your idea today using SwiftUI. SwiftUI makes it fast and simple for fledgling coders to take flight and develop world class iOS apps that soar above the rest--without having to learn all the tricks of coding right away.Swift UI for Dummies has all you need to know! showing you how to quickly get a feel for coding rules! syntax! and tools! and to develop your basic knowledge in Swift 5.0 playgrounds. It also covers the frameworks and APIs that allow you to create smooth! intuitive interfaces with no trouble at all--just dive in and you'll be posting your first application in record time. Combining projects into workspaces and creating playgrounds Employing Xcode editing tools Using constants and variables and work with optional types Testing your code on iOS SimulatorThe time is ripe--pick up this friendly guide and you'll soon see your iOS app ideas join 350!000 others (and counting) built using Swift. Inhaltsverzeichnis Introduction 1 About This Book 1 Foolish Assumptions 2 Icons Used in This Book 2 Beyond the Book 3 Where to Go from Here 3 Part 1: Getting Started with Swift and SwiftUI 5 Chapter 1: Introducing SwiftUI 7 Understanding What SwiftUI Is 7 Getting the Tools 11 Hello, SwiftUI 12 Automatically previewing your user interface using the canvas 14 Working with Live Preview 18 Generating different previews 19 The Gory Details 21 Info plist 22 AppDelegate swift 22 SceneDelegate swift 23 Chapter 2: Basics of the Swift Programming Language 25 Basic Swift Syntax 26 Constants 26 Variables 27 Strings 27 Comments 27 Basic Data Types 28 Integers 28 Floating-point numbers 29 Booleans 29 Tuples 30 Arrays 30 Retrieving elements from an array 31 Inserting elements into an array 31 Modifying elements in an array 31 Appending elements to an array 31 Removing elements from an array 32 Dictionaries 32 Retrieving elements from a dictionary 32 Modifying an item in a dictionary 33 Remo...
Auteur
Wei-Meng Lee (Singapore) is founder of Developer Learning Solutions, a firm specializing in hands-on training for software developers. He teaches courses in mobile development, blockchain, machine learning, and AI. He is author of a number of books, including Beginning Swift Programming (Wiley).
Texte du rabat
The simplest way to create world-class apps Have a unique app idea but worried you don't quite have the coding skills to build it? Good news: You can stop fretting about someone beating you to market with the same idea and start work right now using SwiftUI. SwiftUI is a gateway app development framework that has become one of the best ways for fledgling developers to get iOS apps off the ground without having to become a coding expert overnight. SwiftUI For Dummies makes that process even faster, providing a friendly introduction to the SwiftUI and Swift programming language and helping you feel right at home creating and building with playgrounds. The book also covers the frameworks and APIs that make it so easy to create smooth, intuitive interfaces--just dive right in and have fun! Combine projects into workspaces Employ Xcode editing tools Use constants and variables Test your code on iOS Simulator Time is of the essence, and with SwiftUI For Dummies, it's also on your side. Get going with this friendly guide today, and you'll be celebrating the successful launch of your app way before you thought possible!
Contenu
Introduction 1
About This Book 1
Foolish Assumptions 2
Icons Used in This Book 2
Beyond the Book 3
Where to Go from Here 3
Part 1: Getting Started with Swift and SwiftUI 5
Chapter 1: Introducing SwiftUI 7
Understanding What SwiftUI Is 7
Getting the Tools 11
Hello, SwiftUI 12
Automatically previewing your user interface using the canvas 14
Working with Live Preview 18
Generating different previews 19
The Gory Details 21
Info plist 22
AppDelegate swift 22
SceneDelegate swift 23
Chapter 2: Basics of the Swift Programming Language 25
Basic Swift Syntax 26
Constants 26
Variables 27
Strings 27
Comments 27
Basic Data Types 28
Integers 28
Floating-point numbers 29
Booleans 29
Tuples 30
Arrays 30
Retrieving elements from an array 31
Inserting elements into an array 31
Modifying elements in an array 31
Appending elements to an array 31
Removing elements from an array 32
Dictionaries 32
Retrieving elements from a dictionary 32
Modifying an item in a dictionary 33
Removing an item from a dictionary 33
Optional Types 33
Working with implicitly unwrapped optionals 35
Using optional binding 36
Unwrapping optionals using "?" 36
Using the nil coalescing operator 37
Functions 38
Understanding input parameters 38
Returning a value 39
Flow Control 39
If-Else statement 40
Ternary conditional operator 40
Switch statement 40
Looping 41
For-In loop 42
While loop 42
Repeat-While loop 42
Control transfer statements 42
Range operators 43
Structures 43
Memberwise initializers 44
Structures as value types 45
Classes 47
Defining a class 47
Understanding properties 47
Using methods in classes 49
Trying out the self property 50
Closures 51
Understanding closures 51
Using functions as closures 52
Assigning closures to variables 52
Writing closures inline 53
Understanding type inference 53
Using shorthand argument names 54
Working with the operator function 54
Using trailing closures 55
Protocols 55
Defining and using a protocol 56
Conforming to a protocol 56
Using the Codable protocol 57
Using the some keyword 59
Part 2: Understanding the Basics of SwiftUI 61
Chapter 3: Getting Started with the Basics of SwiftUI 63
Taking a Look at SwiftUI Views 63
Conforming to the View protocol 64
Using modifiers 66
Stacking modifiers 66
Using the Inspector 67
Displaying an Image 70
Using modifiers on the Image view 72
Resizing images 73
Displaying a Button 75
Customizing the button 76
Adding actions 77
Stacking the Views 78
VStack 79
HStack 80
Putting on the Finishing Touches 85
Chapter 4: Handling User Inputs and Custom Views 87
Looking at Input …