Skip to main content
30
results
Andrew Fletcher
I'm currently working on a project that requires login, register, forget password functionality in SwiftUI.  As I'm developing the code, I came across a great resource for validating an email address with Regex: http://emailregex.com/ In the end, I leveraged the worked produced on https://stackoverflow.com/questions/25471114/how-to-validate-an-e-mail-address-in-swift The code used: extension String { var isValidEmail: Bool { let name =...
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:...
Andrew Fletcher
After creating a new view with a @Binding string as follows struct EditRival: View { @Environment(\.presentationMode) var presentationMode @EnvironmentObject var realmPerson: RealmPersons @Binding var uid: String  The previews struct had an error with the var previews struct EditRival_Previews: PreviewProvider {   //... Initial code ...// static var previews: some View { EditRival() .environmentObject(RealmPersons()) }The error was Cannot convert value of...
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...
Andrew Fletcher
I'm going to take you on a journey about adding a gradient tint to a...
Andrew Fletcher
Creating a new SwiftUI project is a quick process.  There are already thousands of sites outlining how to do these steps.  Rather than repeat this steps at the top of each article, we will refer to this article to get you across the line if you don't know or need a refresher. Step 1 Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. Step 2 In the template selector, select iOS as the platform,...
Andrew Fletcher
How to apply a gradient tint over a background image? Set the background...
Andrew Fletcher
For detailed notes regarding how to add custom fonts to your iOS app see...
Andrew Fletcher
Working on formatting the date in Xcode, and you come across the situation where...
Andrew Fletcher
Adding a floating decimal point for n number of places is quite easy to achieve....