Skip to main content
26
results
Andrew Fletcher
The challenge I was facing, I had written a script to scan barcodes and use Google book API to view the contents.  However, a snippet of the JSON response { "contentVersion": "0.2.0.0.preview.0", "panelizationSummary": { "containsEpubBubbles": false, "containsImageBubbles": false }, "imageLinks": { "smallThumbnail": "http://books.google.com/books/content?id=VktTDwAAQBAJ&printsec=frontcover&img=1&zoom=5&source=gbs_api", "thumbnail":...
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
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
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...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the current loop was odd or even row.  To do this add the expression to your Twig file: {% set direction = loop.index0 is odd ? 'left' : 'right' %}In the call above, the variable direction is set to either left or right depending on the value of the position of the loop row (loop.index0).  I then used the left or right value in a div class adding to a series of tailwind css definitions.  Such...
Andrew Fletcher
Working with buttons To begin, what is a button in SwiftUI? struct MainView:...
Andrew Fletcher
Setting up the mail configuration in October CMS is a quick progress....
Andrew Fletcher
When those simple annoyances are too frustrating!  Yes we have all been...
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I...