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
12
results
Andrew Fletcher
•
How do you exclude the current node from a list view?
In some situations, for example a block listing nodes related to the node being viewed, you might wish to exclude the current node from a list view.
Steps:
Click on the advanced tab;
Click on add under contextual filters;
Choose Content datasource: ID;
Under "when the filter variable is not available, choose provide default value;
From the drop down menu select content id from url;
Scroll down to the bottom of the window and click on...
Andrew Fletcher
•
Updating to PHP 8.1, I found this interesting code stop...
Deprecated function:...
Andrew Fletcher
•
Creating a new account in Mail on OSX Big Sur (11.2) and complete the required...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the...
Andrew Fletcher
•
Whatever you are coding - code clarity is your goal.
Before you scream and run out the door, I'm not going to reinvent the wheel! A couple of style guides on GitHub are great way to start... github - swift-style-guide (however not maintained) and raywenderlich - swift-style-guide. Swift team at Apple have API Design Guidelines on how to write better Swift...
Andrew Fletcher
•
To create a .pem file, is quick once you have your .p12 certificate. I...
Andrew Fletcher
•
I had the issue where I needed to filter an array list by a specific column....
Andrew Fletcher
•
A handy resource list of fonts for iOS:
iOS Font List -...
Andrew Fletcher
•
https://github.com/kylebrowning/waterwheel.swift
After a short amount searching...
Andrew Fletcher
•
Ha you have read it before, one of those throw away lines that is written "just create a cartfile". So your thinking carthage update, carthage init, create a plain text document, etc... all wrong. How do you know... when you run carthage update, you receive the following error
Get this error: "No such file in directory"
So how do you "just" create a Cartfile?
Oh, there are no instructions on the Carthage page either. Feeling a little ticked off, how do I "just create" a...
Andrew Fletcher
•
After coding for 16 years... I have decided to have a go at building apps in...