Overview
This lecture explains the initial setup of a new iOS project in Xcode for developing a video player app, including naming conventions, template selection, and key configuration steps.
Creating a New Xcode Project
- Launch Xcode and select "Create New Xcode Project" from the Welcome window.
- Choose the App template to create a base project with standard UI components.
- Enter a project name; use “video_player” as the example project name.
- Assign a unique application ID, which identifies your app on devices and in the Apple Store.
- Application ID should remain unchanged after publishing to maintain app identity for updates.
- Set the organization identifier to "Conan," which forms part of the bundle identifier (e.g., Conan.video_player).
Configuring Project Options
- Select “Storyboard” as the interface type for building the UI.
- Choose “Swift” as the programming language for this project.
- Click Next to create the project.
Generated Project Structure
- Xcode generates a basic View Controller class to manage the video player's user interface.
- Additional files and folders are created automatically to support the project structure.
Moving Forward
- The next step involves learning about AVPlayer for video playback functionality.
Key Terms & Definitions
- Application ID — a unique string that identifies an app on devices and in the App Store.
- Organization Identifier — a reverse-domain string (e.g., "Conan") used to help create a unique bundle identifier.
- Bundle Identifier — a combination of the organization identifier and project name, uniquely identifying the app.
- Storyboard — a visual tool in Xcode for designing app interfaces.
- View Controller — a class that manages a screen’s content in an iOS app.
- Swift — a programming language used for iOS development.
Action Items / Next Steps
- Learn about AVPlayer to implement video playback in your app.