𝔖 Scriptorium
✦   LIBER   ✦

📁

Beginning iPhone Development with SwiftUI: Exploring the iOS SDK

✍ Scribed by Wally Wang


Publisher
Apress
Year
2022
Tongue
English
Leaves
468
Edition
6
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Tame the power of Apple’s new user interface toolkit, SwiftUI. Integrate all the interface elements iOS users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders with less effort and more efficiency. You’ll also learn about touch gestures, lists, and grids for displaying data on a user interface. And you’ll even go beyond those simple controls to liven up any user interface with simple animation techniques. Spice your designs up with movement, scaling, and resizing, including spring and bounce effects!

You’ll start with basic designs and then explore more sophisticated ones. Assuming little or no working knowledge of the Swift programming language, and written in a friendly, easy-to-follow style, this book offers a comprehensive course in iPhone and iPad programming. The book starts with a gentle introduction to using Xcode and then guides you though the creation of your first simple application. You’ll create user interfaces for that application using multiple screens in two different ways―using Navigation View and Tab Bars.

Beginning iPhone Development with Swift UI covers the basic information you need to get up and running quickly to turn your great ideas into working iOS apps with stunningly interactive interfaces using SwiftUI. Once you’re ready, move on to Pro iPhone Development with Swift UI to learn more of the unique aspects of iOS programming and the Swift language.

What You Will Learn

  • Discover the basics of designing a user interface using SwiftUI
  • Build cool, crisp user interfaces that use animation
  • Display data in lists and outlines
  • Organize user interfaces in forms and groups

 Who This Book is For 

Aspiring iOS app developers new to the Apple Swift programming language and/or the iOS SDK. 

✦ Table of Contents


Table of Contents
About the Author
About the Technical Reviewer
Chapter 1: Understanding iOS Programming
Learning About Xcode
Manipulating the Xcode Panes
Summary
Chapter 2: Designing User Interfaces with SwiftUI
Modifying the User Interface with the Inspector Pane
Summary
Chapter 3: Placing Views on the User Interface
Using the Padding Modifier
Defining Spacing Within a Stack
Aligning Views Within a Stack
Using Spacers
Using the Offset and Position Modifiers
Summary
Chapter 4: Working with Text
Changing the Appearance of Text
Using the Label View
Adding a Border Around a Text or Label View
Summary
Chapter 5: Working with Images
Displaying Shapes
Coloring a Shape
Coloring a Shape with Gradients
Displaying Images
Clipping Images
Adding Shadows to Images
Adding a Border Around Images
Defining the Opacity of an Image
Summary
Chapter 6: Responding to the User with Buttons and  Segmented Controls
Running Code in a Button
Using a Segmented Control
Running Code from a Segmented Control
Summary
Chapter 7: Retrieving Text from Text Fields and Text Editors
Using Text Fields
Changing the Text Field Style
Creating Secure Text Fields
Using Autocorrect and Text Content
Defining Different Keyboards
Dismissing the Virtual Keyboard
Using a Text Editor
Summary
Chapter 8: Limiting Choices with Pickers
Using a Picker
Using the Color Picker
Using the Date Picker
Choosing a Date Picker Style
Displaying a Date and/or Time
Restricting a Date Range
Formatting Dates
Summary
Chapter 9: Limiting Choices with Toggles, Steppers, and Sliders
Using a Toggle
Using the Stepper
Defining a Range in a Stepper
Defining an Increment/Decrement Value in a Stepper
Using Sliders
Changing the Color of a Slider
Defining a Range for a Slider
Defining a Step Increment for a Slider
Displaying Minimum and Maximum Labels on a Slider
Summary
Chapter 10: Providing Options with Links and Menus
Using Links
Using Menus
Formatting Titles on the Menu and Buttons
Adding a Submenu
Summary
Chapter 11: Touch Gestures
Detecting Tap Gestures
Detecting Long Press Gestures
Detecting Magnification Gestures
Detecting Rotation Gestures
Detecting Drag Gestures
Defining Priority and Simultaneous Gestures
Defining a High Priority Gesture
Defining Simultaneous Gestures
Summary
Chapter 12: Using Alerts, Action Sheets, and Contextual Menus
Displaying an Alert/Action Sheet
Displaying and Responding to Multiple Buttons
Making Alert/ActionSheet Buttons Responsive
Using Contextual Menus
Summary
Chapter 13: Displaying Lists
Displaying Array Data in a List
Displaying Arrays of Structures in a List
Creating Groups in a List
Adding Line Separators to a List
Adding Swipe Gestures to a List
Deleting Items from a List
Moving Items in a List
Creating Custom Swipe Actions for a List
Summary
Chapter 14: Using Forms and Group Boxes
Creating a Simple Form
Dividing a Form into Sections
Disabling Views in a Form
Using Group Boxes
Summary
Chapter 15: Using Disclosure Groups, Scroll Views, and Outline Groups
Using a Disclosure Group
Using a Scroll View
Using an Outline Group
Summary
Chapter 16: Using the Navigation View
Using a Navigation View
Adding Buttons to a Navigation Bar
Adding Links to a Navigation View
Displaying Structures in a Navigation View
Passing Data Between Structures in a Navigation View
Changing Data Between Structures in a Navigation View
Sharing Data Between Structures in a Navigation View
Using Lists in a Navigation View
Summary
Chapter 17: Using the Tab View
Using a Tab View
Selecting Buttons Programmatically in a Tab Bar
Displaying a Page View
Displaying Structures in a Tab View
Passing Data Between Structures in a Tab View
Changing Data Between Structures in a Tab View
Sharing Data Between Structures in a Tab View
Summary
Chapter 18: Using Grids
Defining Multiple Rows/Columns
Adjusting Spacing Between Rows/Columns
Summary
Chapter 19: Using Animation
Moving Animation
Scaling Animation
Rotating Animation
Animation Options
Using Delays and Duration in Animation
Using an Interpolating Spring in Animation
Using withAnimation
Summary
Chapter 20: Using GeometryReader
Understanding the GeometryReader
Understanding the Differences Between Global and Local Coordinates
Identifying Minimum, Mid, and Maximum Values of a GeometryReader
Summary
Appendix: An Introduction to Swift
Storing Data
Storing Different Data Types
Using Optional Data Types
Using Comments
Mathematical and String Operators
Branching Statements
Using Boolean Values
Using Boolean Operators
Using if Statements
Using switch Statements
Looping Statements
Using the for Loop
Using the while Loop
Using the repeat Loop
Functions
Data Structures
Storing Data in Arrays
Storing Data in Tuples
Storing Data in Dictionaries
Storing Data in Structures
Classes and Object-Oriented Programming
Understanding Encapsulation
Understanding Inheritance
Understanding Polymorphism
Summary
Index


📜 SIMILAR VOLUMES


Beginning iPhone Development with SwiftU
✍ Wally Wang 📂 Library 📅 2022 🏛 Apress 🌐 English

<p>Tame the power of Apple’s new user interface toolkit, SwiftUI. Integrate all the interface elements iOS users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders with less effort and more efficiency. You’ll also learn about touch gestures, lists, and grids for di

Beginning iPhone Development with SwiftU
✍ Wallace Wang 📂 Library 🏛 Apress 🌐 English

<p><span>Tame the power of Apple’s new user interface toolkit, SwiftUI. This revised and expanded Seventh Edition covers the basic information you need to get up and running quickly to turn your great ideas into working iOS apps with stunningly interactive interfaces using SwiftUI. New chapters cove

Beginning iPhone development with Swift
✍ David Mark, Jack Nutting, Kim Topley, Fredrik Olsson, Jeff LaMarche 📂 Library 📅 2014 🏛 Apress 🌐 English

<p> <p style="line-height:normal;margin-bottom:12pt;">The team that brought you the bestselling <em>Beginning iPhone Development</em>, the book that taught the world how to program on the iPhone, is back again for <em>Beginning iPhone Development with Swift. </em><strong><em></em></strong>This defin

Beginning iPhone Development with Swift:
✍ David Mark, Jack Nutting, Kim Topley, Fredrik Olsson, Jeff LaMarche (auth.) 📂 Library 📅 2014 🏛 Apress 🌐 English

<p><p>The team that brought you the bestselling <em>Beginning iPhone Development</em>, the book that taught the world how to program on the iPhone, is back again for <em>Beginning iPhone Development with Swift.</em><strong><em></em></strong>This definitive guide is up to date with Apple's new Swift

Beginning iPhone Development with Swift:
✍ David Mark, Jack Nutting, Kim Topley, Fredrik Olsson, Jeff LaMarche 📂 Library 📅 2014 🏛 Apress 🌐 English

The team that brought you the bestselling Beginning iPhone Development, the book that taught the world how to program on the iPhone, is back again for Beginning iPhone Development with Swift.This definitive guide is up to date with Apple's new Swift programming language and the latest and greatest i