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
35
results
Andrew Fletcher
•
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change as it has now moved into 9.x. It has integrated more with composer, and you can be caught by fatal errors occurring during the update process. One of these errors for me was the php version.
Site version as set through Plesk is PHP 7.3.12
Using ssh via Terminal the command
php -v
PHP 7.1.33 (cli) (built: Oct 25 2019 11:33:58) ( NTS )
Whereas, composer update was showing
Problem...
Andrew Fletcher
•
As outlined in an earlier article composer php version, when installing the...
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....
Andrew Fletcher
•
Struggling to hide the SwiftUI separators in a List or Form?
The...
Andrew Fletcher
•
Core Data - customising our data model
When you are using Core Data, and let's say that you have a requirement to have an attribute where the options available should be a defined list. Such as "Not Started", "Pending", "In Development" and "Completed". How do you create this as an option in Core Data?
Thinking out loud, the practical solution would be to use an enum. But how do you use a enum in this instance? As you might have noticed, unfortunately, it...
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...
Andrew Fletcher
•
Working with buttons
To begin, what is a button in SwiftUI?
struct MainView:...
Andrew Fletcher
•
When those simple annoyances are too frustrating! Yes we have all been...
Andrew Fletcher
•
Running a common composer command, post an upgrade on the server to Centos 7 and I received the following error:
/usr/local/bin/composer: line 8: 6210 KilledThe "Killed" message usually means that your process consumed too much memory, so you may simply need to add more memory to your system if possible. You can increase the memory, however, note that you shouldn't be doing this action on a production server, and additionally you shouldn't be using composer update at all....
Andrew Fletcher
•
The purple warning notification of annoyance recently came my way! I...
Andrew Fletcher
•
I'm currently working on a project that requires login, register, forget...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
After creating a new view with a @Binding string as follows
struct EditRival:...