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
40
results
Andrew Fletcher
•
The development version of the app database is held on the staging site. Note all development and testing will be completed on the staging site.
Drupal 9 uses:
HAL : Serializes entities using Hypertext Application Language.
RESTful Web Services
For testing purposes you can use either of the following Chrome extensions:
Postman;
DHC
Using Postman to perform a GET command for a node
The get string is https:/{your-site.com}/node/<nid>?_format=hal_json, where the...
Andrew Fletcher
•
The user parameters provides details about a specific user based...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
•
If you are receiving the following 403 errors:
"message": "The used...
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 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
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Adding an image via RESTUI can be done in a snap... once you know how! I...
Andrew Fletcher
•
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
•
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
•
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following error
RealmSwift 10.1: framework not found realm-syncThe greatest clue I came across to solving this issue was on the Realm GitHub issues page for realm-sync error. However, updating Cocopods wasn't the only step required to correct this issue. The steps I took were:
Update Cocopods to v1.10.0 using
sudo gem install cocoapods
Deintegrate all of your pods
pod deintegrate
Install the pods from the...
Andrew Fletcher
•
After creating a new view with a @Binding string as follows
struct EditRival:...
Andrew Fletcher
•
What to do when you want to filter a Realm object, using NSPredicate in...
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the...