Regex Replace Using Atom
Xcode renaming is good, but in some cases it can’t help.
Figuring out software, one rabbit hole at a time.
Xcode renaming is good, but in some cases it can’t help.
Amid the public outcry of Apple being a draconian monopoly, Apple is also clamping down on Internet radio apps.
I am an iPhone developer since 2008, and I am grateful for the mobile revolution that they started.
In new Xcode 12, there is a “new” tab system. There is a tabs within tabs. Something along window tab or document tab.
Swift has provided us quite a few ways to write codes that work for specific platform, version, and language. Examples:
NavigationView is the SwiftUI component to creating the UIKit’s equivalent of UINavigationController and UI/NSSplitViewController.
There is a new modifier in SwiftUI 2.0, announced in WWDC 2020, for iOS 14 (beta). But the API is actually back dated to iOS 13.
At last, in Swift 5.3, the updated Swift Package Manager (SPM) now supports resources! Yipee~
The Fruta sample code provides a good example of a project structure that supports multi-platforms.
WWDC 2020 has clarify much on how we should manage data flow when using SwiftUI.
WWDC 2020 introduced a few more property wrappers. I don’t take system wrappers lightly, as they must be introduced for very good reason. So better know them well.
In 2016, I wrote a Swift script to download all the WWDC PDFs and videos from the command line.
If you have ever embed YouTube using their iframe code, this post would optimize your webpage loading speed tremendously.
Once again, a high profile developer kicked up a good fuss over App Store policy.
This Swift API is one of the most confusing to use. Not so long ago I discovered that URL inits for file can result in different behaviours.
This is a list of short SwiftUI snippets that I will be updating continuously. They are not hard, but SwifUI has 99+ modifers, working for all views..
I wrote on StackOverflow with a piece of code on how to observe an @Published.
While working on an iOS app with SwiftUI, I thought I should trying converting it to a Catalyst app.
When I started out SwiftUI, I thought I will not need to go back to UIKit stuff. But I am wrong, for 2 reasons:
WWDC 2018 session 223 is a very good session on writing good code.
The Problem
@State is mutable
Using SwiftUI’s List is a refreshing change as we no longer use UITableView and NSFetchedResultsController.
I bought samwize.com in 2012, and was using Namecheap.
List is the equivalent of UITableView or NSTableView.
@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.