Skip to main content
30
results
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the copy [cp] command.  This came about due to 'upgrading' the server from Centos 6 to 7.  Once I had migrated a domain, I ran the following command yes | cp -rf 'stg/core' 'tmpdir'To my surprise, the first run of this command took over 38 minutes to complete.  Crap!  Yes a simple cp -a command is a very painful and slow process.  Read more about the pain and times under Centos 7 in this...
Andrew Fletcher
The challenge I was facing, I had written a script to scan barcodes and use...
Andrew Fletcher
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
I'm writing these steps primarily for myself as a reference.  However, if...
Andrew Fletcher
Whilst working through an edit person view in a SwiftUI project, I experienced...
Andrew Fletcher
When managing a navigation title in Swift, you will have trodden down the path.  Previously you have entered something like .navigationTitle("Title")If you wanted to alter the font used for the navigation area, alter the init() in the view: struct YourView: View { // ... code ... // init() { // Use this if NavigationBarTitle is with large font UINavigationBar.appearance().largeTitleTextAttributes = [.font : UIFont(name: "Georgia-Bold", size: 20)!] } ...
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
Core Data - customising our data model When you are using Core Data, and let's...
Andrew Fletcher
In SwiftUI, has made creating a list of item very easy.  If...
Andrew Fletcher
I attempted the run command and the response I had was succeeded, but then nothing else happened! I usually have this problem when a dependency is not updated. The following steps usually works for me... note in bold are the Terminal commands such as (rm -rf Podfile.lock): Delete your Podfile.lock - using Terminal use the command rm -rf Podfile.lock Delete your Pods folder - rm -rf Pods Delete your .xcworkspace - rm -f .xcworkspace Pod install Clear your project - shift + command + k...
Andrew Fletcher
Working with buttons To begin, what is a button in SwiftUI? struct MainView:...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
When those simple annoyances are too frustrating!  Yes we have all been...
Andrew Fletcher
Attempting to load changes in a staging site and the bountiful error page...