Welcome to Code Completion, Episode 53! 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.
Today, we discuss:
Also, join us for #CompleteTheCode and Compiler Error, two segments that test both your knowledge and our knowledge on Swift, Apple, and all things development!
Your hosts for this week:
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 episode of Code Completion is brought to you by Sticky Widgets. Go to https://apps.apple.com/app/apple-store/id1533254320?pt=1765080&ct=CodeCompletion&mt=8 today to check it out!
What can go wrong in this code that switches on an indexPath when a cell is tapped?
// What can go wrong in this code that switches on an indexPath when a cell is tapped?
switch (indexPath.row) {
case 0:
[self presentAbout];
case 1:
[self presentHelp];
case 2:
[self presentContact];
default:
break;
}
Be sure to tweet us with hashtag #CompleteTheCode if you know the answer!
This week's Compiler Error has a theme: Latest Display Technologies
1 - Thunderbolt 4 not only supports DisplayPort 2.0, but also allows the full 80 Gbps to be dedicated for video output, allowing 8K displays up to a whopping 240 fps.
2 - DisplayLink allows displays to be connected over USB or ethernet by using an adapter that transforms the data signal into a DisplayPort or HDMI signal.
3 - SDI, or serial digital interface, is the preferred connection on film sets connecting cameras to recording equipment, and allows for up to 48 Gbps over a single connection.
4 - Also limited to 48 Gbps, HDMI 2.1 supports HDR10 footage of up to an 8K resolution at 120 Hz on supported cables.