Professional Documents
Culture Documents
لتعليم$ وزارة ا
Imam Abdulrahman Bin ة$ع$ام$ج يصل$$نف$$$ب
من$لرح$$المام عبدا$$ا
Faisal University
Applied College لكلية$$ا
لتطبيقية$ ا
IOS DEVELOPMENT-1
COMP224
Lab (2)
XCODE FILE TYPES
• This is the project file.
• It includes “all the settings for your project and its targets.
• Each target is a product that Xcode can build from the project.
For now, the targets you'll build will be executable apps.
• Files with this icon contain Swift code.
• Whenever you build your app, Xcode gathers up all included Swift files
and runs them through the Swift compiler, which converts the code into
a format your selected device understands.
• This icon represents a storyboard.
• All storyboard files are unique to Interface Builder.
• They contain information about the design of each scene within your
application, as well as how one screen transitions to another.
• This icon represents an asset catalog.
• This includes your app's icon, images, color definitions, and other forms
of data to be bundled with your app.
• It also allows you to specify variants of your assets based on device
settings and capabilities such as light and dark appearance, accessibility
settings for high and low contrast, and hardware differences from screen
resolutions to memory capacity and graphics chip support.
XCODE FILE TYPES
• When creating the project, make sure the interface option is set to
Storyboard
• After the project is opened, locate the Scheme menu on the Xcode toolbar
and choose the device you want to simulate from the list.
• Click the Run button to begin launching the app in Simulator.
• A device image with white background will appear.
DEBUGGING AN APPLICATION
3 Run code
The output
4 appears here
EXERCISE (1)