46: Let Me Solve All Your Problems
Code Completion13 Sep 2021

46: Let Me Solve All Your Problems

Welcome to Code Completion, Episode 46! 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 Weekly Swift Exercises. Go to https://twitter.com/swiftexercises today to check it out!

Complete the Code

How would you transform the code below to use the new async/await pattern?

// How would you transform the code below to use the new async/await pattern? print("Preparing request…") urlSession.dataTask(with: httpRequest) { data, response, error in DispatchQueue.main.async { print("Received response: \(response)") } }.resume() print("Sent request!")

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

Compiler Error

This week's Compiler Error has a theme: SwiftUI View Modifiers!
1 - Much like UIKit, SwiftUI allows the interface orientation to be manipulated using statusBar(orientation:), moving the status bar to one of the four screen edges.
2 - Tooltips can be added to SwiftUI views using the help(_:) modifier, helping to guide the user around the interface without them needing to directly invoke any actions.
3 - Any view in the hierarchy can be modified with onOpenURL(perform:) to perform localized URL handling so long as it is part of the hierarchy when the URL is opened.
4 - A badge can be added to tab bar items using the badge(_:) modifier, but this will also add a visual indicator to list rows to help convey supplementary information.

Denne episoden er hentet fra en åpen RSS-feed og er ikke publisert av Podme. Den kan derfor inneholde annonser.

Episoder(140)

141: That’s a Lot of App

141: That’s a Lot of App

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

31 Jul 20231h 30min

140: I’ll Sacrifice an iPad

140: I’ll Sacrifice an iPad

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

22 Jul 20231h 18min

139: Capital G Games

139: Capital G Games

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

13 Jul 20231h 12min

138: I Keep Using Mac minis

138: I Keep Using Mac minis

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

3 Jul 202353min

137: They Swoop In And Crush Everyone

137: They Swoop In And Crush Everyone

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

26 Jun 202348min

136: There Are Dozens Of Us Windows

136: There Are Dozens Of Us Windows

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

16 Jun 20231h 28min

135: They Are Very Nice Rails

135: They Are Very Nice Rails

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

7 Jun 20232h 47min

134: Contacts Suck

134: Contacts Suck

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

3 Jun 20231h 35min

Populært innen Fakta

fastlegen
dine-penger-pengeradet
relasjonspodden-med-dora-thorhallsdottir-kjersti-idem
foreldreradet
treningspodden
jakt-og-fiskepodden
mikkels-paskenotter
rss-strid-de-norske-borgerkrigene
rss-kunsten-a-leve
sinnsyn
hverdagspsyken
gravid-uke-for-uke
fryktlos
ryddepodden
rss-var-forste-kaffe
rss-sarbar-med-lotte-erik
tomprat-med-gunnar-tjomlid
babyverden
lederskap-nhhs-podkast-om-ledelse
rss-impressions-2