CodeCompletion.io

Episode 2: Available in Human Sizes

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

  • Finding your niche and the benefits in specializing when looking for new opportunities.
  • How beneficial would it be to consider the App Store as simply a provider, much like an ISP.

🚧 #CompleteTheCode

This week's #CompleteTheCode:

Can you explain what is wrong with the following code, how it can break, and show how to fix it?
1
2
3
4
5
6
7
struct Person {
    var name: String
    var age: Double
}

let person = askForPerson()
NSLog("\(person.name) is %.2f years old today!", person.age)

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

⚠️ Compiler Error

  1. A key player in pioneering the digital publishing space, Apple made several printer models in 80s and 90s such as the popular ImageWriter and LaserWriter, but they also made the Apple 410 Color Plotter, a printer that used a stylus along with a selection of inks to literally draw shapes and text on the page.
  1. Available for sale for just a couple years, iPod Socks were a series of pouches for iPods woven like socks, and came as a package with six colors: grey, orange, pink, blue, green, and purple. For a limited time, they were also available in human sizes at the Apple Company Store in Cupertino.
  1. Known now as a feature that allows videos to be quickly taken by pressing and holding the shutter button on modern iPhones, the Apple QuickTake was a line of video cameras that could be used tethered to a Mac, or on the go thanks to AA batteries.
  1. Released in 2006, the iPod Radio Remote was an attachment for then-new iPods that was shaped like a then-unreleased clip-style iPod Shuffle, that allowed compatible iPod users to use their iPods as an FM Radio tuner.
Compilation Results

Ben had the misfortune of going first again to show the others the ropes, followed by Fernando and Johnny. Let's check how they did!

4. Released in 2006, the iPod Radio Remote was an attachment for then-new iPods that was shaped like a then-unreleased clip-style iPod Shuffle, that allowed compatible iPod users to use their iPods as an FM Radio tuner.

Johnny doubted this product ever existed and was the compiler error, but unfortunately it was a code completion! Learn More →

3. Known now as a feature that allows videos to be quickly taken by pressing and holding the shutter button on modern iPhones, the Apple QuickTake was a line of video cameras that could be used tethered to a Mac, or on the go thanks to AA batteries.

Fernando fumbled last minute and chose this as the error, but it was also a code completion! Learn More →

2. Available for sale for just a couple years, iPod Socks were a series of pouches for iPods woven like socks, and came as a package with six colors: grey, orange, pink, blue, green, and purple. For a limited time, they were also available in human sizes at the Apple Company Store in Cupertino.

Everyone thought this was true, but it was in fact the compiler error, since iPod socks were not only available for sale for nearly a decade, but were unfortunately never available in human sizes… Learn More →

Which means that…

1. A key player in pioneering the digital publishing space, Apple made several printer models in 80s and 90s such as the popular ImageWriter and LaserWriter, but they also made the Apple 410 Color Plotter, a printer that used a stylus along with a selection of inks to literally draw shapes and text on the page.

…which Ben thought was a bit too outlandish, was still a code completion! Learn More →

🎁 Sponsor

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

📺 Watch the Stream