Date: 18/06/2025
Author: Bruno
I've decided to dive into iOS development and learn Swift, Apple's powerful and intuitive programming language. My goal? To build my first app!
In this first lesson, I focused on the basics: creating and setting up a new Xcode project. Here's what I learned—and some extra fun stuff I explored along the way.
► I opened Xcode (after downloading it from the Mac App Store, of course) and clicked "Create a New Xcode Project."
✅ Success! My project was created.
► Then I wanted to make my app visually appealing, so I learned how to add assets.
Adding App Icons
Assets.xcassets
> Right-click > New iOS App Icon.Including Custom Images
Assets.xcassets
.💡 Pro Tip: Use AppIcon Generator to quickly generate all required icon sizes!
As usual, curiosity got the best of me, and I ended up exploring a few extra things:
► Connecting Xcode to GitHub (Source Control)
I wanted to back up my project, so I set up Git version control in Xcode.
► Generating a GitHub Personal Access Token
Since Xcode no longer supports password authentication, I had to create a Personal Access Token (PAT).
► Researching Which Files to Exclude from GitHub
I didn't want to clutter my repo with unnecessary files, so I Googled:
"Which files should I exclude when uploading an Xcode project to GitHub?"
Turns out, I should ignore:
DerivedData/
(build artifacts).DS_Store
(macOS metadata)*.xcuserstate
(user-specific settings)I added these to a .gitignore
file using a Swift-specific template.
In Lesson 2, the plan is:
If you're also learning Swift, let's connect and share our progress. Hit me up on X