developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
19
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...
Andrew Fletcher
•
To create a .pem file, is quick once you have your .p12 certificate. I...