Skip to main content
14
results
Andrew Fletcher
11 Jun 2021
Wanting to create a new repository on GitHub, add in a few of the available options that can come with an initial repository such as: .gitignore for the platform you are building on README.md for detailed notes - particularly if the repository if public LICENSE - again important if the repository if public However, once you add one or more of these items, you will need to merge the repository with your local environment.  This article walks through creating a new GitHub repository and merging...
Andrew Fletcher
29 Dec 2020
The purple warning notification of annoyance recently came my way!  I received...
Andrew Fletcher
28 Dec 2020
I'm currently working on a project that requires login, register, forget...
Andrew Fletcher
08 Dec 2020
iOS localization on the fly If you have added languages to your app... shortly...
Andrew Fletcher
28 Oct 2020
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...
Andrew Fletcher
04 Aug 2020
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 type...
Andrew Fletcher
04 Jun 2020
What to do when you want to filter a Realm object, using NSPredicate in SwiftUI...
Andrew Fletcher
06 May 2020
Today while in Terminal, I ran a regular script pod update.  However, this time...
Andrew Fletcher
01 May 2020
I'm going to take you on a journey about adding a gradient tint to a background...
Andrew Fletcher
22 Apr 2020
Creating a new SwiftUI project is a quick process.  There are already thousands...
Andrew Fletcher
20 Mar 2020
How to apply a gradient tint over a background image? Set the background image The first step is to set the background image.  I wanted the image to cover the entire device, so scale aspect fill will be required. self.backgroundImage = UIImageView(image: UIImage(named: "bgkMain")) self.backgroundImage.contentMode = .scaleAspectFill self.view.insertSubview(self.backgroundImage, at: 0)   Set the tint layer With the background in place, next construct the tint layer.  To make the tint in you...
Andrew Fletcher
17 Mar 2020
For detailed notes regarding how to add custom fonts to your iOS app see Apple's...
Andrew Fletcher
16 Aug 2019
Working on formatting the date in Xcode, and you come across the situation where...
Andrew Fletcher
08 Aug 2019
Adding a floating decimal point for n number of places is quite easy to achieve....