Episode 35: I Didn't Watch the Video
Welcome to Code Completion, Episode 35! 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 two apps for you to check out:
- Do you plan a project beforehand or jump in headfirst?
- Why design an app in a graphics (non-IDE) application?
- Do you a begin a project with the model layer or UI first?
- Common Project Management Tool Terminology.
- Aftershow: Tiktok is crazy town:
This week's #CompleteTheCode:
Which key command in Xcode will allow you to rename the variable you have selected everywhere it appears in the current scope?
1 2 3 4 5 6 7
// Which key command in Xcode will rename the selected variable // within the current scope? let lable = UILabel() lable.text = "Name" lable.textColor = .blue rootView.addSubview(lable)
⚠️ Compiler Error
This week's theme: Swift Actors!
- Actors are a reference type distinct from classes that enable thread-safe access to the data within the actor by gating access behind async members.
- Actors can be used from Objective-C so long as the type is marked with @objc, and only non-isolated and asynchronous methods are called.
- Actors can be accessed from non-asynchronous code within the same module so long as only let properties or non isolated methods are called.
- Actors are implemented using special GCD queues and locks under the hood at compile time, minimizing bugs that arise from incorrect usage of isolated properties.