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
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I hit a few walls and as a matter of process found some commands that are handy to run before doing a deep dive in Google.
Cleaning the cache
sudo yum clean all
rm -rf /var/cache/yum/*
To make the cache
sudo yum clean all; sudo yum makecacheIf you want to run several commands use semi-colon as noted above.
Updating
When running an update command run
sudo yum -y...
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...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Recently I had an error with a domain smtp server not recognising port 587....
Andrew Fletcher
•
Localization is the process of showing other languages in your app and is surprisingly painless in iOS. For most of us the base version of the app will be written in English. Then you will localize the app to other languages. The process of localization in this article is based on the latest Xcode which is 12.1. One of the most challenging aspects to localization is ensuring that the app's text is translated by respective languages native...
Andrew Fletcher
•
After creating a new view with a @Binding string as follows
struct EditRival:...
Andrew Fletcher
•
Building a contact list using SwiftUI has many challenges.
One challenge is...
Andrew Fletcher
•
What to do when you want to filter a Realm object, using NSPredicate in...
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...