Atnaujinkite slapukų nuostatas

Beginning iPhone Development with SwiftUI: Exploring the iOS SDK 6th ed. [Minkštas viršelis]

  • Formatas: Paperback / softback, 466 pages, aukštis x plotis: 254x178 mm, weight: 905 g, 155 Illustrations, color; 16 Illustrations, black and white; XIII, 466 p. 171 illus., 155 illus. in color., 1 Paperback / softback
  • Išleidimo metai: 02-Jan-2022
  • Leidėjas: APress
  • ISBN-10: 1484278178
  • ISBN-13: 9781484278178
Kitos knygos pagal šią temą:
  • Formatas: Paperback / softback, 466 pages, aukštis x plotis: 254x178 mm, weight: 905 g, 155 Illustrations, color; 16 Illustrations, black and white; XIII, 466 p. 171 illus., 155 illus. in color., 1 Paperback / softback
  • Išleidimo metai: 02-Jan-2022
  • Leidėjas: APress
  • ISBN-10: 1484278178
  • ISBN-13: 9781484278178
Kitos knygos pagal šią temą:

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. 

About the Author xi
About the Technical Reviewer xiii
Chapter 1 Understanding iOS Programming
1(16)
Learning About Xcode
3(8)
Manipulating the Xcode Panes
11(4)
Summary
15(2)
Chapter 2 Designing User Interfaces with SwiftUI
17(18)
Modifying the User Interface with the Inspector Pane
25(9)
Summary
34(1)
Chapter 3 Placing Views on the User Interface
35(20)
Using the Padding Modifier
35(4)
Defining Spacing Within a Stack
39(1)
Aligning Views Within a Stack
40(2)
Using Spacers
42(5)
Using the Offset and Position Modifiers
47(5)
Summary
52(3)
Chapter 4 Working with Text
55(20)
Changing the Appearance of Text
60(8)
Using the Label View
68(5)
Adding a Border Around a Text or Label View
73(1)
Summary
74(1)
Chapter 5 Working with Images
75(14)
Displaying Shapes
75(5)
Coloring a Shape
76(1)
Coloring a Shape with Gradients
77(3)
Displaying Images
80(7)
Clipping Images
82(1)
Adding Shadows to Images
83(1)
Adding a Border Around Images
84(2)
Defining the Opacity of an Image
86(1)
Summary
87(2)
Chapter 6 Responding to the User with Buttons and Segmented Controls
89(18)
Running Code in a Button
92(5)
Using a Segmented Control
97(9)
Running Code from a Segmented Control
102(4)
Summary
106(1)
Chapter 7 Retrieving Text from Text Fields and Text Editors
107(14)
Using Text Fields
108(12)
Changing the Text Field Style
108(1)
Creating Secure Text Fields
109(1)
Using Autocorrect and Text Content
109(2)
Defining Different Keyboards
111(2)
Dismissing the Virtual Keyboard
113(3)
Using a Text Editor
116(4)
Summary
120(1)
Chapter 8 Limiting Choices with Pickers
121(20)
Using a Picker
121(5)
Using the Color Picker
126(3)
Using the Date Picker
129(11)
Choosing a Date Picker Style
130(1)
Displaying a Date and/or Time
131(1)
Restricting a Date Range
131(6)
Formatting Dates
137(3)
Summary
140(1)
Chapter 9 Limiting Choices with Toggles, Steppers, and Sliders
141(14)
Using a Toggle
142(2)
Using the Stepper
144(5)
Defining a Range in a Stepper
146(1)
Defining an Increment/Decrement Value in a Stepper
147(2)
Using Sliders
149(4)
Changing the Color of a Slider
150(1)
Defining a Range for a Slider
150(1)
Defining a Step Increment for a Slider
150(1)
Displaying Minimum and Maximum Labels on a Slider
151(2)
Summary
153(2)
Chapter 10 Providing Options with Links and Menus
155(12)
Using Links
156(1)
Using Menus
156(9)
Formatting Titles on the Menu and Buttons
160(2)
Adding a Submenu
162(3)
Summary
165(2)
Chapter 11 Touch Gestures
167(30)
Detecting Tap Gestures
167(2)
Detecting Long Press Gestures
169(3)
Detecting Magnification Gestures
172(5)
Detecting Rotation Gestures
177(4)
Detecting Drag Gestures
181(4)
Defining Priority and Simultaneous Gestures
185(10)
Defining a High Priority Gesture
188(4)
Defining Simultaneous Gestures
192(3)
Summary
195(2)
Chapter 12 Using Alerts, Action Sheets, and Contextual Menus
197(20)
Displaying an Alert/Action Sheet
198(13)
Displaying and Responding to Multiple Buttons
201(4)
Making Alert/ActionSheet Buttons Responsive
205(6)
Using Contextual Menus
211(4)
Summary
215(2)
Chapter 13 Displaying Lists
217(32)
Displaying Array Data in a List
219(3)
Displaying Arrays of Structures in a List
222(3)
Creating Groups in a List
225(6)
Adding Line Separators to a List
231(4)
Adding Swipe Gestures to a List
235(13)
Deleting Items from a List
235(3)
Moving Items in a List
238(5)
Creating Custom Swipe Actions for a List
243(5)
Summary
248(1)
Chapter 14 Using Forms and Group Boxes
249(16)
Creating a Simple Form
250(4)
Dividing a Form into Sections
254(4)
Disabling Views in a Form
258(3)
Using Group Boxes
261(3)
Summary
264(1)
Chapter 15 Using Disclosure Groups, Scroll Views, and Outline Groups
265(14)
Using a Disclosure Group
266(3)
Using a Scroll View
269(2)
Using an Outline Group
271(6)
Summary
277(2)
Chapter 16 Using the Navigation View
279(36)
Using a Navigation View
280(2)
Adding Buttons to a Navigation Bar
282(4)
Adding Links to a Navigation View
286(22)
Displaying Structures in a Navigation View
289(4)
Passing Data Between Structures in a Navigation View
293(5)
Changing Data Between Structures in a Navigation View
298(4)
Sharing Data Between Structures in a Navigation View
302(6)
Using Lists in a Navigation View
308(6)
Summary
314(1)
Chapter 17 Using the Tab View
315(38)
Using a Tab View
316(8)
Selecting Buttons Programmatically in a Tab Bar
324(3)
Displaying a Page View
327(4)
Displaying Structures in a Tab View
331(19)
Passing Data Between Structures in a Tab View
336(5)
Changing Data Between Structures in a Tab View
341(4)
Sharing Data Between Structures in a Tab View
345(5)
Summary
350(3)
Chapter 18 Using Grids
353(14)
Defining Multiple Rows/Columns
357(4)
Adjusting Spacing Between Rows/Columns
361(4)
Summary
365(2)
Chapter 19 Using Animation
367(26)
Moving Animation
367(4)
Scaling Animation
371(2)
Rotating Animation
373(3)
Animation Options
376(11)
Using Delays and Duration in Animation
378(4)
Using an Interpolating Spring in Animation
382(5)
Using with Animation
387(5)
Summary
392(1)
Chapter 20 Using GeometryReader
393(14)
Understanding the Geometry Reader
393(5)
Understanding the Differences Between Global and Local Coordinates
398(5)
Identifying Minimum, Mid, and Maximum Values of a GeometryReader
403(3)
Summary
406(1)
Appendix: An Introduction to Swift
407(52)
Storing Data
411(11)
Storing Different Data Types
414(4)
Using Optional Data Types
418(4)
Using Comments
422(1)
Mathematical and String Operators
423(3)
Branching Statements
426(8)
Using Boolean Values
426(2)
Using Boolean Operators
428(1)
Using if Statements
429(3)
Using switch Statements
432(2)
Looping Statements
434(5)
Using the for Loop
435(2)
Using the while Loop
437(1)
Using the repeat Loop
438(1)
Functions
439(2)
Data Structures
441(11)
Storing Data in Arrays
442(3)
Storing Data in Tuples
445(1)
Storing Data in Dictionaries
446(4)
Storing Data in Structures
450(2)
Classes and Object-Oriented Programming
452(6)
Understanding Encapsulation
452(2)
Understanding Inheritance
454(2)
Understanding Polymorphism
456(2)
Summary
458(1)
Index 459
Wallace Wang is a former Windows enthusiast who took one look at Vista and realized that the future of computing belonged to the Mac. He's written more than 40 computer books, including Microsoft Office for Dummies, Beginning Programming for Dummies, Steal This Computer Book, My New Mac, and My New iPad. In addition to programming the Mac and iPhone/iPad, he also performs stand-up comedy, having appeared on A&E s "Evening at the Improv," and having performed in Las Vegas at the Riviera Comedy Club at the Riviera Hotel & Casino. When hes not writing computer books or performing stand-up comedy, he also enjoys blogging about screenwriting at his site, The 15 Minute Movie Method, where he shares screenwriting tips with other aspiring screenwriters who all share the goal of breaking into Hollywood.