CodeCompletion.io

Episode 1: File, New, New Project…

Welcome to Code Completion! We are a group of iOS developers and educators hoping to share what we love most about development, Apple technology, and completing your code on this brand new show!

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

  • How to layout your UI using compositional layouts and diffable data sources.
  • Different ways to bring an iPhone UI to the iPad.
  • Ways Apple could make the App Store a better place for both developers and users.

🚧 #CompleteTheCode

This week's #CompleteTheCode:

Without using a variable as a flag, how can you skip to the next iteration of an outer loop, from inside an inner loop?
1
2
3
4
5
6
7
8
for row in rows {
    for column in columns {
        if column.shouldSkipToNextRow {
            // how do you get to the next row?
        }
    }
    finishUpRow(row)
}

Be sure to tweet us with hashtag #CompleteTheCode if you know the answer!

⚠️ Compiler Error

  1. Known as the key with the apple logo, the command key has been represented by the unicode character known as PLACE OF INTEREST SIGN since the Apple III.
  1. Used on many systems that are very different from Macs, the control key on Mac OS differentiates itself from the competition by using the UP ARROWHEAD unicode character rather than the abbreviation, bar, or traditional caret notations.
  1. Located between the control and command keys on the keyboard, the option key is unoriginally called OPTION KEY in the unicode specification, but was also known as the “closed apple key” on Apple II series computers.
  1. Despite being used on some of the earliest computers, the shift modifier on Apple keyboards simply uses the UPWARDS WHITE ARROW character, an approximation of the standardized Level 2 Select key’s original symbol.
Compilation Results

Ben went first, followed by Spencer. Let's check how they did!

4. Despite being used on some of the earliest computers, the shift modifier on Apple keyboards simply uses the UPWARDS WHITE ARROW character, an approximation of the standardized Level 2 Select key’s original symbol.

Everyone thought this was true, and it is indeed a code completion! Learn More →

3. Located between the control and command keys on the keyboard, the option key is unoriginally called OPTION KEY in the unicode specification, but was also known as the “closed apple key” on Apple II series computers.

Spencer thought this was true, while Ben thought this was the error, but it was also a code completion! Learn More →

2. Used on many systems that are very different from Macs, the control key on Mac OS differentiates itself from the competition by using the UP ARROWHEAD unicode character rather than the abbreviation, bar, or traditional caret notations.

Spencer thought this was the error, but it was also a code completion! Learn More →

Which means that…

1. Known as the key with the apple logo, the command key has been represented by the unicode character known as PLACE OF INTEREST SIGN since the Macintosh introduced in 1984, though the command key itself was present on the Apple III introduced in 1980, but it was represented by an open Apple logo instead.

is in fact the compiler error! Learn More →

🎁 Sponsor

This week's episode of Code Completion is brought to you by Huuungry. Click here or search for Huuungry on the iOS App Store today to give it a try.

📹 Watch the Stream