ANIMATING SWIFTUI APPLICATIONS create visually stunning and engaging animations for iOS with SwiftUI /
Unleash the power of SwiftUI by building dynamic, cross-platform projects that will amaze their users Purchase of the print or Kindle book includes a free PDF eBook Key Features Explore the basics of declarative programming and animation Understand the fundamentals of SwiftUI and animatable properti...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[S.l.] :
PACKT PUBLISHING LIMITED,
2023.
|
Edición: | 1st edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- Copyright
- Foreword
- Contributors
- Table of Contents
- Preface
- Chapter 1: Exploring the Fundamentals of SwiftUI
- Technical requirements
- Understanding imperative and declarative programming
- Exploring the Xcode interface
- Understanding the state
- Understanding SwiftUI structures
- Computed properties
- Stacks
- Spacer views
- Divider views
- The padding modifier
- Closures
- GeometryReader
- Summary
- Chapter 2: Understanding Animation with SwiftUI
- Technical requirements
- What is animation?
- Understanding timing curves
- Understanding animation types
- Triggering animations
- Exploring animatable properties
- The offset property
- Hue rotation
- Opacity
- Scale
- Stroke, trim, and corner radius
- Summary
- Chapter 3: Creating a Breathing App
- Technical requirements
- Setting up the project with Xcode
- Adding the variables
- Implementing a background color
- Adding the circles
- Adding the first pair of circles
- Adding the second pair of circles
- Adding the third pair of circles
- Animating the circles
- Summary
- Chapter 4: Building a Record Player
- Technical requirements
- Adding images to the Assets catalog
- Creating the record player elements
- Creating the record player box
- Creating the spinning record
- Creating the record player arm
- Adding a custom dynamic button
- Creating a sound file to play audio
- Combining all the elements into one view
- Testing the project
- Summary
- Chapter 5: Animating Colorful Kaleidoscope Effects
- Technical requirements
- Adding the Binding variable and images
- Adding a Picker control and using a ForEach view
- Adding the variables and background color
- Adding the Image view and using the hueRotation modifier
- Summary
- Chapter 6: Animating a Girl on a Swing
- Technical requirements
- Gathering and slicing images
- Adding the animating variables
- Adding the images to the scene
- Adding the background
- Adding the right leg
- Adding the girl
- Adding the left leg
- Bringing the images together
- Using the mask modifier
- Summary
- Chapter 7: Building a Series of Belts and Gears
- Technical requirements
- Animating our first circular gear
- Animating a worm gear using shadows
- Using a marching ants effect to create a gear belt
- Animating a gear shaft image
- Animating a fan image
- Bringing everything together in ContentView
- Adding the motor
- Adding the gears along the x-, y-, and z-axes
- Adding the worm gear
- Adding the belts
- Adding the gear shafts
- Adding the fan
- Adding the background
- Summary
- Chapter 8: Animating a Bouquet of Flowers
- Technical requirements
- Adding the variables and a winter background
- Animating the text labels
- Using the blur modifier to create a vapor effect
- Animating flower petals in an arc