The app is really tiny though. I was surprised I had 20+ warnings in such a small project. I guess an average codebase I worked on in the past would have hundreds or even thousands.
The app is really tiny though. I was surprised I had 20+ warnings in such a small project. I guess an average codebase I worked on in the past would have hundreds or even thousands.
It took about an hour to fix all the warnings.
Still wrapping my head around Swift Concurrency, but I'm getting there π¨βπ¬
It took about an hour to fix all the warnings.
Still wrapping my head around Swift Concurrency, but I'm getting there π¨βπ¬
#WWDC2025
#DesignUpdate
#WWDC2025
#DesignUpdate
Today, while solving a Leetcode problem in a #Swift playground, I hit an interesting snag: a solution almost identical to mine was running 10 times faster. The only difference? Variable declarations.
Today, while solving a Leetcode problem in a #Swift playground, I hit an interesting snag: a solution almost identical to mine was running 10 times faster. The only difference? Variable declarations.
πππ
πππ
Hereβs a helpful mnemonic: WTF
expr0 ? expr1 : expr2 β‘οΈ What ? True : False
Thanks to @twostraws.bsky.social straws for mentioning @scottmichaud.bsky.social's invention
#LearnInPublic #Swift
Hereβs a helpful mnemonic: WTF
expr0 ? expr1 : expr2 β‘οΈ What ? True : False
Thanks to @twostraws.bsky.social straws for mentioning @scottmichaud.bsky.social's invention
#LearnInPublic #Swift
VStack vs LazyVStack vs List
- VStack for simple layouts.
- LazyVStack excels with many elements due to lazy loading.
- List offers lazy loading plus OS-adapted design and native features like disclosure indicators, making it versatile for complex lists.
VStack vs LazyVStack vs List
- VStack for simple layouts.
- LazyVStack excels with many elements due to lazy loading.
- List offers lazy loading plus OS-adapted design and native features like disclosure indicators, making it versatile for complex lists.