Mastodon
Episode 60

Basically the Wild West

00:00:00
/
01:15:44

December 15th, 2021

1 hr 15 mins 44 secs

Season 1

Your Hosts
Tags

About this Episode

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

Sponsor

This week's episode of Code Completion is brought to you by Pennant. Go to https://apps.apple.com/app/apple-store/id622463230?pt=1765080&ct=CodeCompletion&mt=8 today to check it out!

Complete the Code

How can you make sure both load methods run concurrently?

// How can you make sure both load methods run concurrently?
func loadItem(_ id: UUID) async {
    let image = await loadImage(id)
    let metadata = await loadMetadata(id)

    presentItem(id, image: image, metadata: metadata)
}

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

Compiler Error

This week's Compiler Error has a theme: Cryptocurrencies!
1 - One of the first cryptocurrencies, Litecoin was created in 2011 based on Scrypt out of concern that GPU-based mining was too high a barrier to entry.
2 - Zcash, founded by Zooko Wilcox, is the first open, permission less financial system employing zero-knowledge security, and employed a “ceremony” to generate the system’s private key.
3 - Titcoin was created in 2014 as the first cryptocurrency to be nominated for a major adult industry award, and featured greatly improved transaction speeds over Bitcoin.
4 - iCANhaz was an ill-fated cryptocurrency founded by Burger King in 2018 that could be earned by purchasing cheeseburgers, though most ended up lost since wallets containing the coin were printed on wrappers themselves.