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
•
ERROR Error: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'ce.imageURL')
Tools
Platform / package
Version
Xcode
13.2.1
Typescript / Angular
6
Cordova
Capacitor
The code where the error was being generated
if (!this.imageCollection) {
return baseUrl + req;
}
let image = this.imageCollection.find(obj => obj.fishID === fishId);
if (image.imageURL) {
return image.imageURL;
} else {
return baseUrl +...
Andrew Fletcher
•
Have you noticed through your Google account that there are items being indexed...
Andrew Fletcher
•
Core Data - customising our data model
When you are using Core Data, and let's...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Building a contact list using SwiftUI has many challenges.
One challenge is...
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...