hoangswift's profile picture. iOS Developer

Hoang Nguyen

@hoangswift

iOS Developer

คุณอาจชื่นชอบ
Hoang Nguyen รีโพสต์แล้ว

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…


Hoang Nguyen รีโพสต์แล้ว

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…

jacobtechtavern's tweet image. 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…

Hoang Nguyen รีโพสต์แล้ว

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.

Dimillian's tweet image. 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.

Hoang Nguyen รีโพสต์แล้ว

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 ⬇️


Hoang Nguyen รีโพสต์แล้ว

Bash Scripting Basics

sysxplore's tweet image. Bash Scripting Basics

Hoang Nguyen รีโพสต์แล้ว

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…


Hoang Nguyen รีโพสต์แล้ว

A convenient view extension that applies an overlay only when a given EnvironmentValues equals a specific value: gist.github.com/juliensagot/bc…

Barbapapapps's tweet image. A convenient view extension that applies an overlay only when a given EnvironmentValues equals a specific value:
gist.github.com/juliensagot/bc…

Hoang Nguyen รีโพสต์แล้ว

How To Release A Mobile App

alexxubyte's tweet image. How To Release A Mobile App

Hoang Nguyen รีโพสต์แล้ว

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…


Hoang Nguyen รีโพสต์แล้ว

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…


Hoang Nguyen รีโพสต์แล้ว

Advanced Swift Concurrency: don't use actors!! You can protect access to shared mutable state AND keep your API synchronous by using OSAllocatedUnfairLock.

jacobtechtavern's tweet image. Advanced Swift Concurrency: don't use actors!! 

You can protect access to shared mutable state AND keep your API synchronous by using OSAllocatedUnfairLock.
jacobtechtavern's tweet image. Advanced Swift Concurrency: don't use actors!! 

You can protect access to shared mutable state AND keep your API synchronous by using OSAllocatedUnfairLock.

Hoang Nguyen รีโพสต์แล้ว

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.


Hoang Nguyen รีโพสต์แล้ว

In case you forgot, Swift has 217 keywords now

jacobtechtavern's tweet image. In case you forgot, Swift has 217 keywords now

Hoang Nguyen รีโพสต์แล้ว

The hand signal for help Teach it, share it for awareness

จาก 坊主

Hoang Nguyen รีโพสต์แล้ว

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…

svpino's tweet image. How can you learn neural networks?

Machine Learning From Zero &amp;lt;--- This is an open-source library that will teach you everything you need about neural networks.

This is not a video. It&apos;s not an infographic. It&apos;s not a PDF.  It&apos;s a working library with a very cool…

Hoang Nguyen รีโพสต์แล้ว

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

krzyzanowskim's tweet image. wake up babe, new SwiftUI crash just shipped

workaround:
a) DispatchQueue.main.async { }
b) apply random modifiers to random places hoping it help

Hoang Nguyen รีโพสต์แล้ว

Time travel and different realities with Apple Vision Pro 📹 affluint

จาก Yogesh Kumar

Hoang Nguyen รีโพสต์แล้ว

I just published How to use Cursor for iOS development link.medium.com/D2jaWbW6TNb


Hoang Nguyen รีโพสต์แล้ว

Learn how to implement the App Store Hero Animation with SwiftUI's new NavigationTransition peterfriese.dev/blog/2024/hero…


Hoang Nguyen รีโพสต์แล้ว

System Design Master Template:

hamptonism's tweet image. System Design Master Template:

United States เทรนด์

Loading...

Something went wrong.


Something went wrong.