Reader small image

You're reading from  Elevate SwiftUI Skills by Building Projects

Product typeBook
Published inSep 2023
Reading LevelN/a
PublisherPackt
ISBN-139781803242071
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Frahaan Hussain
Frahaan Hussain
author image
Frahaan Hussain

Frahaan Hussain is a 3 time published author with over 500,000 students enrolled on his courses online and more than 40,000 loyal YouTube followers. Before he started teaching programming online, Frahaan graduated top of his class with honours in Computer Games Programming from De Montfort University. After just 2 years, he was invited back to become module leader at his Alma Mater. While consulting with huge clients such as Google and Chukong, Frahaan continues to further the education of others and himself.
Read more about Frahaan Hussain

Right arrow

Technical Requirements

This chapter requires you to download Xcode version 14 or above from Apple’s App Store.

To install Xcode, just search for Xcode in the App Store and download the latest version. Open Xcode and follow the installation instructions. Once Xcode has opened and launched, you’re ready to go.

Version 14 of Xcode has the following features/requirements:

  • Includes SDKs for iOS 16, iPadOS 16, macOS 12.3, tvOS 16, and watchOS 9.
  • Supports on-device debugging in iOS 11 or later, tvOS 11 or later, and watchOS 4 or later.
  • Requires a Mac running macOS Monterey 12.5 or later.
  • For further information regarding technical details, please refer to Chapter 1.

The code files for this chapter can be found here: https://github.com/PacktPublishing/Elevate-SwiftUI-Skills-by-Building-Projects.

In the next section, we will provide clarity on the specifications of our application’s design and look at mockups of what the app will look...

Understanding the Design Specifications

In this section, we will look at the design specifications of our gallery application. This section describes the features we are going to implement in our gallery app. The best method for figuring out the features required is to put yourself in the user’s shoes to determine how they will use the app and break it into individual steps.

The features of our app we would like to present are as follows:

  • Highlight view: This is the main view that the user will see, which showcases all the images.
  • Enhanced view: This shows a larger version of the image along with information such as a description and a date.
  • Fullscreen mode: View the image in fullscreen mode without any extra information.
  • Fullscreen tap for more info: A single tap while in fullscreen mode will show the photo’s title.
  • Collections: Different image collections, or albums:
    • Side panel: This shows all the collection names in horizontal mode.
  • Delete...

Summary

In this chapter, we covered the design of our photo gallery application for the iPad. We looked at wireframes and broke down each element into SwiftUI components. We then implemented the SwiftUI components to match the design from the highlight view wireframe. We also took a look at the requirements for building this application, and the design specifications a photo gallery application can have. Then we simplified it to the core features our app will provide. We expanded our design specifications with acceptance criteria to show what we would like our app to do.

In our next chapter, we’ll take a look at implementing the enhanced view based on the wireframe discussed in this chapter and connect it to the highlight view.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Elevate SwiftUI Skills by Building Projects
Published in: Sep 2023Publisher: PacktISBN-13: 9781803242071
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
Frahaan Hussain

Frahaan Hussain is a 3 time published author with over 500,000 students enrolled on his courses online and more than 40,000 loyal YouTube followers. Before he started teaching programming online, Frahaan graduated top of his class with honours in Computer Games Programming from De Montfort University. After just 2 years, he was invited back to become module leader at his Alma Mater. While consulting with huge clients such as Google and Chukong, Frahaan continues to further the education of others and himself.
Read more about Frahaan Hussain