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
30
results
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
•
Installing Laravel on an Apache server was going to be a no fuss process said no...
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
•
Today while in Terminal, I ran a regular script pod update. However, this...
Andrew Fletcher
•
I'm going to take you on a journey about adding a gradient tint to a background image. The journey will go through text modifiers with regular and semibold font weights, and font colour. Using an image from Unsplash. Adding a black tint, then transform it to a gradient using a colour array. If you get lost along the journey, the final result is available on GitHub.
Level: beginner
Previously I've looked into adding a tint overlay to a background image......
Andrew Fletcher
•
Creating a new SwiftUI project is a quick process. There are already...
Andrew Fletcher
•
How to apply a gradient tint over a background image?
Set the background...
Andrew Fletcher
•
For detailed notes regarding how to add custom fonts to your iOS app see...
Andrew Fletcher
•
Working on formatting the date in Xcode, and you come across the situation where...
Andrew Fletcher
•
Adding a floating decimal point for n number of places is quite easy to achieve. The key to understand is the receive an outcome of a fraction the numbers need to be Double. So Int numbers will result in a whole number product. By way of example:
80 / 3 = 26
We know that this result is incorrect. To get the correct outcome the equation needs to be as follows:
80.0 / 3.0 = 26.666666666666667
If you have a whole number - add Double to the whole number. So...
Andrew Fletcher
•
We had an issue recently where saving a page in the admin area produced one of...
Andrew Fletcher
•
In Drupal 8.x hiding the subject line is a quick task.
In the admin area of your...
Andrew Fletcher
•
You have been working hard on getting comments being added (POST) through REST...
Andrew Fletcher
•
For others that have spent countless hours getting this to work and are...