Skip to main content
24
results
Andrew Fletcher
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code Command Line Interface (CLI) called code. With the code CLI, you can install, list, uninstall, and manage extensions from the command line.   To check you have the code prompt running, run code --versionResponse you're looking for is 1.83.0 d3a019177ff8833cf320e334265dfea540098a3a arm64If not, to install, in VS Code press command + shift + p to open the command palette, then type "install code", click Shell...
Andrew Fletcher
The challenge I was facing, I had written a script to scan barcodes and use...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS Code: phpcs: Unable to locate phpcs. Please add phpcs to your global path or use composer decency manager to install it in your project locally.  How to fix You can install phpcs by using composer global command: composer global require squizlabs/php_codesnifferThen in VS Code, go to  Click Code -> Preferences -> Settings Select User Settings and locate 'PHP CodeSniffer', or in the Search settings enter...
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your...
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...