How to use Binding in SwiftUI
@State and @ObservedObject are used to declare the source of truth.
Figuring out software, one rabbit hole at a time.
@State and @ObservedObject are used to declare the source of truth.
WWDC 2019 Session 410 covered how you can create your own library. In the video youโll see how the package is a folder that can be dragged around, and that once it is in a git r...
Preference is the way to pass data from children to parent.
Environment is a very powerful way to pass data from parent down to children.
SwiftUI changes everything, again.
I am getting started with SwiftUI, and thereโs so much to learn, all over again.
URL is a very common data structure, and can be used for http, file, and other schema.
The App Store screenshots specification (as of Feb 2020) states that you need at least these two sizes:
Videos from iOS Conf SG 2020 are now available on YouTube.
I received the following push notification from ohmyhome, a Singapore PropTech startup.
As a Singapore developer, I recently receive an email from Apple on the new GST law on digital goods & services.
With SE-0258, Swift 5.1 adds a new syntactic sugar.
WWDC 2019 gave us Dark Mode. NSHipster has once again provided a complete guide, with a helpful grouping of the new semantic colors.
rvm is a necessary tool to run different version of ruby.
When I say stuck, I mean really stuck โ when pressing the side button and volume button does NOT even work.
I was working one of those dreadful migration task today.
After upgrading to Catalina, one of my favorite tool broke.
99% of my emails that comes from App Store Connect is nothing good, because they are often rejections.
After launching Dualgram, I give Apple Search Ads a try.
I was developing a new iOS-13-only app and submitted it one week before Sep 19 โ the D-day when iOS 13 is bestowed to all.
I have kept a secret from my wife. I use some shortcuts when I text her, since 10 years ago.
Camera app has an interesting behavior โ When you rotate from portrait to landscape, only some buttons will rotate, while the camera preview layer and texts do not.
New in iOS 13, multi-windows app requires UIWindowSceneDelegate.
I was on macOS 10.15 Catalina BETA 1, and I encountered a very troubling bug.
To create PDF, one of the most popular way is to create the HTML, then convert it to a PDF.
Since URLSession was introduced in iOS 7, third party libraries have somehow lesser value.
macOS 10.15 Catalina (still beta) now supports running a secondary display using an iPad!
I often need to rename multiple files eg. screenshots generated from UI Testing, or my personal photos. I often need to resize images eg. for screenshots on my blogs.
I have a 2014 post in Objective-C, and quite a bit has changed since then. We now have Swift 5, and layout anchors (a short introduction below).
I have been using this new web browser and would love to share it with you.