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
27
results
Andrew Fletcher
•
Having Drupal Solr Search APi running, I thought adding synonyms to the mix would be a smooth process.
Install synonym module
I cam across a synonym module created by Jens Beltofte - Search API Synonym. Working on a Drupal 9.3.x installation, this module needs to be accessed via Git Search API Synonym,
There are lots of great tips as you work through the installation, depending on what version of Drupal and Drush you are using.
Drush commands
Once you have...
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
•
Post the recent update to Xcode 12.x (12A7300), I found opening an app...
Andrew Fletcher
•
I'm currently working on a project that requires login, register, forget password functionality in SwiftUI. As I'm developing the code, I came across a great resource for validating an email address with Regex:
http://emailregex.com/
In the end, I leveraged the worked produced on https://stackoverflow.com/questions/25471114/how-to-validate-an-e-mail-address-in-swift
The code used:
extension String {
var isValidEmail: Bool {
let name =...
Andrew Fletcher
•
Localization is the process of showing other languages in your app and is...
Andrew Fletcher
•
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...
Andrew Fletcher
•
[AutoFill] Cannot show Automatic Strong Passwords for app bundleID:...
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the requests come from a mobile device.
In working through the process you might have come across error message like:
403 Forbidden : "Only anonymous users can register a user."
422 Unprocessable Entity : "A Password cannot be specified. It will be generated on login."So how did I get these and what to do?
First off, check the REST set up in the administration area of Drupal. Configure User and User registration...
Andrew Fletcher
•
Today while in Terminal, I ran a regular script pod update. However, this...