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
13
results
Andrew Fletcher
•
Logging into the server, and there are packages to be updated. You know the standard Ubuntu / Linux response
5 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
3 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esmFollowed by the action
sudo apt update && sudo apt upgrade -y Response
Reading package lists... Done
E: Could not get lock...
Andrew Fletcher
•
Struggling to hide the SwiftUI separators in a List or Form?
The...
Andrew Fletcher
•
Well for me it is very slow. Recently, I upgraded from CentOS 6 to Centos...
Andrew Fletcher
•
To connect to your CPanel hosted server via SSH OSX, please follow...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
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...