Introducing the SwiftUI framework in this reference guide, we will learn everything about the latest
improvements and features of Apple's native user interface framework.
But before we dive into the details, I would like to highlight the major requirements so you can follow
along with me.
Apple developer.
Also, you can get more information about app development and all the necessary tools at the following
official website.
developer.apple.com
First and foremost, you will need Xcode application installed on your computer to get the latest version
of Xcode, you will need to open the App Store on your computer and download it using your personal
or business Apple account.
It's worth mentioning that Xcode editor is free, which is fantastic!
Also, the yearly membership in the Apple Developer Program is not required to get started developing
applications.
However, if you want to publish your apps to the App Store, then it is highly recommended.
Please notice that since the file size of Xcode is enormous, therefore it will take some time when
the download is done.
While Xcode is downloading, you can continue watching the rest of this video.
iOS 15
Another requirement is the latest operating system, iOS 15.
That's why when you create a new swiftly project and save it into the students folder, then you must
make sure that the deployment target is iOS 15 or newer.
You can check it out by selecting the main project on the Project Navigator pane on the left side of
Xcode, as I show you.
By choosing the correct iOS version, we will be able to use the latest and greatest of the SwiftUI
framework.
App icons.
If you are like me who like developing great applications with high quality design, then I have good
news for you:
Each project in this section is providing you the necessary resources such as app icons, graphic files
and occasionally other media types like videos, music files or sound effects.
With that said, you can add these assets to the project and make your app look and sound better in
the rest of this introductory lecture.
I will show you how to do that.
We will start with adding the premade app icons to the project.
First of all, select the assets group from the redesigned Project Navigator pane, as I do.
After that, you will see the empty app icon asset catalog in the middle pane.
A new contextual menu will show up by control, click or left.
Click on this app icon asset.
From this context menu, please select the show in Finder option.
This is the place where we will insert the pre-made app icons.
Please open a new Find a window in the tap bar and go to the resources folder that you previously downloaded
from each section.
Here we need to open the app icons that folder and copy all files in the folder to the clipboard.
When we are done with it, we can switch back to the assets catalog and paste the icons from the clipboard
into the app icons that folder,
As I show you.
Please select the replace option if needed, after all of these steps, you should see the recently
added app icons to this project.
How cool is that?
Other resources.
Finally, if you find other files in the resources folder, then you just need to drag and drop them
into the asset catalog, as I do.
It is as simple as that.
Testing.
Now, with all this prep work, you can start coding along with me and get familiar with all new, exciting
SwiftUI features.
Of course, when the time comes, we will need to test our project to do that.
We can either build, then run it in the simulator or on a real device that has got the latest iOS or
iPadOS installed to make this happen.
The only thing that we need to do is to select the desired destination from the toolbar.
By clicking on the scheme selector, a new dropdown menu will appear for us.
Please select one of the available simulators, then build and run the project by clicking on the play
button on the toolbar, as I show you.
After the initial launch, we can read a welcome message on the screen.
It couldn't be easier to start developing an exit code, in my opinion.
Since you got all the necessary information on how to create and prepare each project in this section,
then without further ado, let's open Xcode and start learning!