Skip to main content
23
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
Whatever you are coding - code clarity is your goal. Before you scream and...
Andrew Fletcher
To create a .pem file, is quick once you have your .p12 certificate.  I...
Andrew Fletcher
I had the issue where I needed to filter an array list by a specific column....
Andrew Fletcher
A handy resource list of fonts for iOS: iOS Font List -...
Andrew Fletcher
https://github.com/kylebrowning/waterwheel.swift After a short amount searching I came across Kyle Browning Waterwheel Pod.  I flipped down to installation and there it is in three steps.  Super.  But wait.  Step one, CocoaPods.  What are pods? https://cocoapods.org/ Easy to follow, in no time cocoapods are added. Using terminal you need to initialise the pod to the directory where the Xcode project is located. cd ~/Path/To/Your/Project/ pod init pod update This...
Andrew Fletcher
Ha you have read it before, one of those throw away lines that is written "just...
Andrew Fletcher
After coding for 16 years... I have decided to have a go at building apps in...