Skip to main content
66
results
Andrew Fletcher
Working with buttons To begin, what is a button in SwiftUI? struct MainView: View { var body: some View { Button(action: {}) { Text("My button in SwiftUI") } } }This code snippet will create a view that contains a button. That button will display some text My button in SwiftUI that when tapped fires off a blank action.  However, if you are like me, I don't have a need for the default type of functionality.  The SwiftUI button needs to do more!....
Andrew Fletcher
Working on a new CentOS 7 server, Node wasn't installed.  You can...
Andrew Fletcher
When those simple annoyances are too frustrating!  Yes we have all been...
Andrew Fletcher
Post the recent update to Xcode 12.x (12A7300), I found opening an app...
Andrew Fletcher
I started out with a simple task... install Tailwindcss.  What unfolded is...
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I received the following warning: Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.  What was happening? The functionality of the code uses URLSession to get a user's name via API and the display is simple piece that initially message of Hello {user}. The view code consists of: MainView : View Main...
Andrew Fletcher
I'm currently working on a project that requires login, register, forget...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......
Andrew Fletcher
Localization is the process of showing other languages in your app and is...
Andrew Fletcher
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...
Andrew Fletcher
[AutoFill] Cannot show Automatic Strong Passwords for app bundleID: your.bundle.id due to error: iCloud Keychain is disabled This error occurs when the system's user doesn't have iCloud Keychain enabled.  This will often be the case on the Simulator.  Try it on one of your devices and see what happens.  I received this message on one of my devices where iCloud Keychain is enabled: [AutoFill] Cannot show Automatic Strong Passwords for app bundleID: your.bundle.id due to...
Andrew Fletcher
After creating a new view with a @Binding string as follows struct EditRival:...
Andrew Fletcher
What to do when you want to filter a Realm object, using NSPredicate in...
Andrew Fletcher
I had an instance where I needed to move content from a plist to the server...
Andrew Fletcher
Today while in Terminal, I ran a regular script pod update.  However, this...