Skip to main content
18
results
Andrew Fletcher
I had an instance where I needed to move content from a plist to the server database.  To achieve this step, I added a few lines of code where the plist was called and added a call to the API so the data would be on the server. The original code appeared as: class ContactsSource { static var contacts: [Contact] { let data = try! PlistLoader.array(fromFile: "ContactsDB", ofType: "plist") return data.compactMap { Contact(dictionary: $0) } } }I needed to access...
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...