Beginning iPhone Development with SwiftUI: Exploring the iOS SDK, 6th Edition

  • 3h 58m
  • Wally Wang
  • Apress
  • 2022

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

About the Author

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 he’s 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.

In this Book

  • Understanding iOS Programming
  • Designing User Interfaces with SwiftUI
  • Placing Views on the User Interface
  • Working with Text
  • Working with Images
  • Responding to the User with Buttons and Segmented Controls
  • Retrieving Text from Text Fields and Text Editors
  • Limiting Choices with Pickers
  • Limiting Choices with Toggles, Steppers, and Sliders
  • Providing Options with Links and Menus
  • Touch Gestures
  • Using Alerts, Action Sheets, and Contextual Menus
  • Displaying Lists
  • Using Forms and Group Boxes
  • Using Disclosure Groups, Scroll Views, and Outline Groups
  • Using the Navigation View
  • Using the Tab View
  • Using Grids
  • Using Animation
  • Using GeometryReader