
Hoang Nguyen
@hoangswift
iOS Developer
คุณอาจชื่นชอบ
I recently built a custom segmented control in SwiftUI and found that matchedGeometryEffect() provided an easy way to animate a capsule highlighting the selected option as it transitions between choices. I summarized the example in a blog post: nilcoalescing.com/blog/CustomSeg…
Advanced iOS: What’s the difference between a framework and a library? Libraries are pure code. Frameworks are simply folders containing a library, plus resources and metadata. Here, we have a .framework folder with the library compiled as a unix executable. Understand the…

So I think I finally found how to properly extend the mardown support of AttributedString. You can add your own Run in AttributedString. Then, inspect the runs, find your own annotation, and insert the desired attributes. I need to add blockquote support.

Introducing Queue, the simplest podcast app out there. I spent the last few months using it as my daily podcast app and polishing the experience so much that I’m ready to share it with the world. (Sound on!) Here’s how it works 1/4 ⬇️
I made this in SwiftUI with Cursor and Xcode So Claude AI is actually great at iOS development. Prompt in Cursor and preview/build in Xcode. SwiftUI makes it incredibly easy to apply custom styling and animations on top of it. If you're starting out, it's really fun. There is…
A convenient view extension that applies an overlay only when a given EnvironmentValues equals a specific value: gist.github.com/juliensagot/bc…

How To Release A Mobile App

The Millennium Prize Problems are seven well-known complex mathematical problems selected by the Clay Mathematics Institute in 2000. The Clay Institute has pledged a US $1 million prize for the first correct solution to each problem. The Clay Mathematics Institute officially…
Extract audio from any video super fast super easily on any Apple Silicon Machine. Another amazing tool from @RayFernando1337 I had great success with Large v3 Turbo, less with other models. github.com/RayFernando133…
Advanced Swift Concurrency: don't use actors!! You can protect access to shared mutable state AND keep your API synchronous by using OSAllocatedUnfairLock.


Actors are great, but this is one excellent example of when not to use an actor. There are Sendable types that do the locking and unlocking for you though, like the Mutex type in Swift 6 is a good pattern. Or NIO's LockedValueBox.
In case you forgot, Swift has 217 keywords now

The hand signal for help Teach it, share it for awareness
How can you learn neural networks? Machine Learning From Zero <--- This is an open-source library that will teach you everything you need about neural networks. This is not a video. It's not an infographic. It's not a PDF. It's a working library with a very cool…

wake up babe, new SwiftUI crash just shipped workaround: a) DispatchQueue.main.async { } b) apply random modifiers to random places hoping it help

Time travel and different realities with Apple Vision Pro 📹 affluint
I just published How to use Cursor for iOS development link.medium.com/D2jaWbW6TNb
Learn how to implement the App Store Hero Animation with SwiftUI's new NavigationTransition peterfriese.dev/blog/2024/hero…
System Design Master Template:

United States เทรนด์
- 1. Ohtani 131K posts
- 2. Carson Beck 14.6K posts
- 3. Miami 95.7K posts
- 4. Dodgers 166K posts
- 5. Dodgers 166K posts
- 6. Louisville 24.1K posts
- 7. Nebraska 15.6K posts
- 8. #SmackDown 50.2K posts
- 9. #BostonBlue 7,464 posts
- 10. Babe Ruth 1,978 posts
- 11. #NLCS 9,282 posts
- 12. Minnesota 46.9K posts
- 13. Rhule 3,543 posts
- 14. 3 HRs 8,814 posts
- 15. Jeff Brohm 2,359 posts
- 16. Raiola 3,035 posts
- 17. George Santos 69.1K posts
- 18. 10 Ks 3,139 posts
- 19. Malachi Toney 2,440 posts
- 20. #OPLive 2,725 posts
Something went wrong.
Something went wrong.