Sometimes, APIs don't offer async/await functions (yet). The workaround is to use withCheckedThrowingContinuation (if the function might throw an error)! 😉👇🏻
1
11
Stephanie Diep retweeted
Xcode tip I just realized. 🤯 When I type ".acc" I would continue typing ".accessibility" and then continue to the next word I wanted after that until I saw it. At ANY time you can start typing ANY other word. After ."acc" when I type "ch" it finds it in a "children" arg!
Lately, I've been learning how to integrate SwiftUI in an existing UIKit app. It's easy to integrate a SwiftUI view in UIKit with UIHostingController, but what about the other way around?
This is the way 👇🏻 (clean, sweet, and short! 🤩)
Stephanie Diep retweeted
I’m giving away 5 one-year licenses to designcode.io to celebrate @twannl’s excellent iOS newsletter 🙌
SwiftLee Weekly Issue 100 could not arrive without a great giveaway. I'm proud to announce a fantastic giveaway in which you can win one of the five 1-year licenses for @designcodeio 🎉
avanderlee.com/giveaway-desi…
Just learned that we use "leading" and "trailing" in Swift instead of "left" and "right" for internationalization - so it supports right to left languages like Arabic 🤯
5
My life is now complete! 🤯 No need to use my fingers in freezing cold conditions to type in my passcode anymore! Thank you Apple 🙇🏻♀️
2
5
Just completed a tutorial in which I teach how to use the AVPlayer from AVKit and the Pexels API to fetch videos into your SwiftUI application 📺
youtu.be/9TwO9yMsPRg
Stephanie Diep retweeted
I was curious about Instagram's user interface, so I cloned their home screen. Here's a tutorial showing you how it is done in SwiftUI in under an hour.
youtube.com/watch?v=LIEGA0Qw…
If you're learning SwiftUI, here are two awesome collections of free written SwiftUI tutorials: designcode.io/swiftui-advanc… and designcode.io/swiftui-handbo….
I wrote some of these tutorials, and still reference to them when I need to refresh my memory 🧠
How do I find all the APIs I use in my tutorials?
A part of the answer is this awesome list of public APIs: github.com/public-api-lists/… 👀
Let's be honest: Xcode uses a lot of space on a Mac and sometimes it can be painful to update Xcode.
Here are some tricks I found to clear up some space!
The addSnapShotListener from Firestore is amazing for real-time updates!
Learn how to use it in a chat app with real-time updates: youtu.be/Zz9XQy8PRpQ
Stephanie Diep retweeted
We created a new course where you learn to build multiple apps with SwiftUI:
🌦 Weather app
💬 Chat app
🍔 Recipe saver app
✅ Todo app
🛒 Shopping app
⏱ Fasting timer app
For each of these, you can build from scratch. Pick one and learn iOS development
designcode.io/quick-apps-swi…
Happy new year everyone! 🤩
Just learned how to implement Apple Pay in a SwiftUI application. The code is not so hard to understand - Apple's sample apps really help with the learning process!
This is the result (UI and code) 👇🏻
2
12
Part 2 is also out! Learn how to integrate Apple Pay in a SwiftUI app 👉🏻 youtu.be/1kRqM7F3AIQ
2
Having fun playing the trivia game I built in SwiftUI! 🤩
You can build it too 👉🏻 youtu.be/b55npVkqa5U
#SwiftUI #triviagame
How to fix the crash when deleting an object from Realm in SwiftUI 👇🏻
Watch the full tutorial here: youtu.be/b6q9vKaXtoU
#SwiftUI #crash #fix #Realm
1
1















