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
56
results
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
•
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...
Andrew Fletcher
•
[AutoFill] Cannot show Automatic Strong Passwords for app bundleID:...
Andrew Fletcher
•
Today while in Terminal, I ran a regular script pod update. However, this...
Andrew Fletcher
•
How to apply a gradient tint over a background image?
Set the background image
The first step is to set the background image. I wanted the image to cover the entire device, so scale aspect fill will be required.
self.backgroundImage = UIImageView(image: UIImage(named: "bgkMain"))
self.backgroundImage.contentMode = .scaleAspectFill
self.view.insertSubview(self.backgroundImage, at: 0)
Set the tint layer
With the background in place, next construct the tint layer. To make...
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....
Andrew Fletcher
•
During the process of building the app, there are warnings about the code....
Andrew Fletcher
•
https://github.com/kylebrowning/waterwheel.swift
After a short amount searching...
Andrew Fletcher
•
If you have this error, the core issue is the dyld issue.
dyld
dyld is a shared library (dylib).
The error is a product where the library path cannot be found at run time. Most likely you have installed a framework to your project and there is an issue in the standard location (such as /Library/Frameworks) on your build and the framework that you have added.
When I had this issue, I researched and researched but found no solutions for my issue. So I reviewed...