Recall & Review
beginner
What is the main folder where all your Swift code files are stored in an iOS project?
The main folder is called the Sources or App folder, where you keep your Swift files like views, models, and controllers.
Click to reveal answer
beginner
What is the purpose of the
Assets.xcassets folder in an iOS project?It stores images, icons, colors, and other media resources used in the app, making it easy to manage and access them.
Click to reveal answer
beginner
What file acts as the entry point of an iOS SwiftUI app?
The file with the
@main attribute, usually named AppNameApp.swift, which defines the app's main structure and launch behavior.Click to reveal answer
intermediate
Why do we use the
Info.plist file in an iOS project?It contains important configuration settings for the app, like app name, version, permissions, and supported device orientations.
Click to reveal answer
intermediate
What is the role of the
PreviewProvider in SwiftUI files?It provides a live preview of your UI design inside Xcode, helping you see changes instantly without running the app on a device.
Click to reveal answer
Which folder typically contains your app's user interface code in an iOS SwiftUI project?
✗ Incorrect
The Sources or App folder holds your SwiftUI views and other code files.
What type of files do you store in the
Assets.xcassets folder?✗ Incorrect
Assets.xcassets is for images, icons, and colors used in the app.
What does the
Info.plist file NOT contain?✗ Incorrect
SwiftUI view code is in Swift files, not in Info.plist.
Which file marks the starting point of a SwiftUI app?
✗ Incorrect
The file with @main attribute defines the app entry point.
What is the purpose of the
PreviewProvider in SwiftUI?✗ Incorrect
PreviewProvider shows live previews of UI designs inside Xcode.
Describe the main folders and files you find in a typical iOS SwiftUI project and their roles.
Think about where code, images, and settings are stored.
You got /5 concepts.
Explain how the
Info.plist file affects your iOS app's behavior and appearance.Consider what settings the system reads from this file.
You got /5 concepts.