Duc Ng retweeted
With this week’s release of the Xcode 11.4 beta, you can *finally* pass a key path to map, filter, and wherever else a “getter” function is allowed! We’re gonna have to retire our custom “^” operator.
Duc Ng retweeted
🤯 You can learn literally everything these days (for free):
🎨
XD letsxd.com/getting-started
Sketch designcode.io/sketch-learn
Figma figma.com/resources/learn/ge…
💻
React producthunt.com/posts/framer…
Webflow university.webflow.com/cours…
Swift hackingwithswift.com/100
SwiftUI hackingwithswift.com/100/swi…
Duc Ng retweeted
Container Views is an awesome way of the view decomposition in SwiftUI. It allows us to separate data-flow and rendering. It also makes possible reuse of SwiftUI views between iOS and watchOS or any other supported platform.
mecid.github.io/2019/07/31/i…
Duc Ng retweeted
If you think iOS signing is complicated, look at these 8 options of Mac signing. Choose the right one.
Duc Ng retweeted
Seriously big hats off to the Xcode team for memory graph debugger. Found and fixed a retain cycle in minutes by seeing what object had a hold of another one, and the exact line in code that was causing.
If you're not using, you're missing out!
Duc Ng retweeted
OmniDiskSweeper 1.12 is now available! This update adds support for the new volume groups introduced in macOS Catalina (v10.15) (with a read-only root volume and a read-write data volume).
You can download the latest build here:
omnigroup.com/more
Enjoy!
Duc Ng retweeted
Xcode 11: just hold 'cmd' to get a list of all file properties and methods.
#Xcode11 #iosdev #swiftlang
Duc Ng retweeted
SwiftUI: Getting Started 📚
Build better apps with SwiftUI:
medium.com/flawless-app-stor…
Setting up a SwiftUI project: medium.com/flawless-app-stor…
Understanding State:
medium.com/flawless-app-stor…
SwiftUI + Combine:
medium.com/flawless-app-stor…
VC Lifecycle in SwiftUI:
medium.com/flawless-app-stor…
Duc Ng retweeted
Thanks to PropertyWrapper in Swift 5, you can do stuff like that, which make UserDefaults a total breeze.
Duc Ng retweeted
Personally, one of the hardest topics in Swift for me to get right
avanderlee.com/swift/weak-se…
🤷🏻♂️ When to use weak self?
🤯 When to use unowned self?
#swiftlang #iosdev
Duc Ng retweeted
Optional enum 不能直接 case 是多麼麻煩的事。這個問題竟然是列為 starter bug 修掉。hackingwithswift.com/article…
Duc Ng retweeted
New in Swift 5: Protocols can now "inherit" from classes - requiring all types conforming to that protocol to also inherit from the specified class 👍
I'll be posting a LOT more Swift 5 content over the next weeks & months - and also update previous articles with new features 🚀
Duc Ng retweeted
It's been a while since I last did a Swift tip tweet - so here we go! 😀
Tuples can not only be super useful in order to group multiple related local variables into one, but can also be a great way to combine throwing expressions 👍
👉 More on tuples: swiftbysundell.com/posts/usi…
Duc Ng retweeted
My second talk at @iosconfsg on behalf of @worldlinexpert was all about how Swift KeyPaths can be leveraged to build some pretty effective syntax and patterns. Here's a thread that recaps some of the key ideas ⤵️
Duc Ng retweeted
📱 Mobile board with the freshest designs by Alan Castellanos ft Yogesh Solanki
→ uplabs.com/collections/mobil…
Duc Ng retweeted
The heart particles/waveform animations in the ECG app were done using Metal/MetalKit
Duc Ng retweeted
Messing with face tracking in Codea using #ARKit on the new iPad Pro. Occlusion face mesh + blend shapes so I can detect jaw movements 👌

































