Episode 44: The Biggest, Richest Child
Welcome to Code Completion, Episode 44! We are a group of iOS developers and educators hoping to share what we love most about development, Apple technology, and completing your code!
Follow us @CodeCompletion on Twitter to hear about our upcoming livestreams, videos, and other content.
Be sure to also sign up to our monthly newsletter, where we will recap the topics we discussed, reveal the answers to #CompleteTheCode, and share even more things we learned in between episodes.
You are what makes this show possible, so please be sure to share this with your friends and family who are also interested in any part of the app development process.
⭐️ This Week's Topics
- Join the Code Completion Club at https://codecompletion.io/jointheclub!
- Indie App Spotlight, with a new app for you to check out:
- Our thoughts on Apple’s CSAM strategy
- Hot off the press: Apple’s class action settlement with US Developers
- Panic’s workaround
- Dice by PCalc
🚧 #CompleteTheCode
This week's #CompleteTheCode:
Why is this SwiftUI code not advisable, and how can you fix it?
1 2 3 4 5 6 7 8
// Why is this SwiftUI code not advisable, and how can you fix it? var body: some View { if isLoggedIn { Text("You are logged in!") } else { Text("You must first log in!") } }
Be sure to tweet us with hashtag #CompleteTheCode if you know the answer!
⚠️ Compiler Error
This week's theme: Git commands!
git whatchanged --since="2 weeks ago"
will show a log of commit messages that have been made since 2 weeks ago.
git add -p
will allow you to stage hunks of code interactively from the command line.
git worktree add
allows you to checkout a specific branch to a separate directory.
git grog
generates an ascii-art graphical log showing branch points leading up to the current commit.
🎁 Sponsor
This week's episode of Code Completion is brought to you by Pennant! Search for Pennant on the iOS App Store today to give it a try!