CodeCompletion.io

Episode 8: Is Two Wins a Streak?

Welcome to Code Completion, Episode 8! 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

  • What it’s like launching an app in 2020 compared to 2008.
  • How the process of app review has changed.
  • How developers are more on the hook than ever to provide their own marketing as App Store features don’t weigh as heavily as they did in the past.

🚧 #CompleteTheCode

This week's #CompleteTheCode:

What's the technical limitation that prevents line 3? Why is line 4 allowed?
1
2
3
4
5
struct Folder {
    var name: String
    var parent: Folder? // What technical limitation prevents this?
    var children: [Folder] // And why is this ok?
}

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

⚠️ Compiler Error

  1. Early versions of iPhone OS were limited to a black home screen background, but iOS 3.2 added the capability to finally change it.
  1. iOS 4 brought emoji support to the iPhone and iPad for the first time via a built-in keyboard.
  1. Although available since the very beginning, iPhone OS 2 brought a scientific calculator to the base feature set when the device was in landscape.
  1. Notification Center finally made its debut in iOS 5, allowing users to manage notifications.
Compilation Results

This time, Ben went first, followed by Spencer. Let's see how they did!

3. Although available since the very beginning, iPhone OS 2 brought a scientific calculator to the base feature set when the device was in landscape.

Everyone thought this was true, and it would be odd if they didn't, since this is a code completion! Learn More →

4. Notification Center finally made its debut in iOS 5, allowing users to manage notifications.

Everyone was also in agreement here, also making this a code completion after all! Learn More →

1. Early versions of iPhone OS were limited to a black home screen background, but iOS 3.2 added the capability to finally change it.

Despite having an iPod touch stuck on this version, Spencer wasn't too sure, which was unfortunate since it was also a code completion! Learn More →

Which leaves…

2. iOS 4 brought emoji support to the iPhone and iPad for the first time via a built-in keyboard.

…which Ben once again had severe doubts with, since it was the compiler error! Although emoji would become a widely used feature in iOS 5, they could be enabled via sneaky apps in iOS 4, and were actually available in Japan as early as iPhone OS 2.2! Learn More →

🎁 Sponsor

This week's episode of Code Completion is brought to you by Fernando and his new book: From Junior to Senior: Practical iOS Style Guide. Go to https://twitter.com/fromjrtosr today to learn more!

📹 Watch the Stream