Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying iOS 17 Programming for Beginners
  • Table Of Contents Toc
iOS 17 Programming for Beginners

iOS 17 Programming for Beginners - Eighth Edition

By : Ahmad Sahar, Ian Lockett
4.6 (21)
close
close
iOS 17 Programming for Beginners

iOS 17 Programming for Beginners

4.6 (21)
By: Ahmad Sahar, Ian Lockett

Overview of this book

In a world with nearly 2 million apps on the App Store, the demand for skilled iOS developers has never been higher. "iOS 17 Programming for Beginners, Eighth Edition" is your gateway to this lucrative and dynamic field. This hands-on guide is tailored for those who are new to iOS and takes you on a journey from learning the Swift language to crafting your own app and seeing it thrive on the App Store. Our approach is hands-on and practical. Each chapter is designed to be a stepping stone in your development journey, providing step-by-step tutorials, real-life examples, and clear explanations of complex concepts. As you progress, you'll not only be skilled in Swift but also incorporate cutting-edge technologies into your apps. You'll learn how to publish your creations and harness the power of iOS 17 through a straightforward and easy to program example app divided into manageable parts. By the time you've completed this book, you'll possess the skills and knowledge to not only develop and publish captivating apps but also leverage online resources to continually enhance your app development prowess.
Table of Contents (34 chapters)
close
close
1
Part 1: Swift
11
Part 2: Design
16
Part 3: Code
26
Part 4: Features
32
Other Books You May Enjoy
33
Index

Adding model objects and configuring navigation

You now have a view that can be used to represent a journal entry in the Journal List screen. You’ll use this view as a cell in a SwiftUI list, which is a container that presents data in a single column. You’ll also configure model objects to populate this list. Follow these steps:

  1. Right-click on the HStack view and choose Embed in VStack from the pop-up menu. This keeps all the views together when you embed them in a list.
  2. Right-click on the outer VStack view and choose Embed in List to display a list containing five cells in the canvas. Remove the padding modifiers as well.
  3. Verify that your code now looks like this:
    struct ContentView: View {
      var body: some View {
        List(0 ..< 5) { item in
          VStack {
            HStack {
              Image(systemName: "face.smiling")
                .resizable()
                .frame(width: 90, height: 90)
              VStack {
                Text(&quot...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
iOS 17 Programming for Beginners
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon