Skip to main content
10
results
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I received the following warning: Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.  What was happening? The functionality of the code uses URLSession to get a user's name via API and the display is simple piece that initially message of Hello {user}. The view code consists of: MainView : View Main...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......
Andrew Fletcher
Using October CMS to migrate your site and update the tables with the plugins...
Andrew Fletcher
Whatever you are coding - code clarity is your goal. Before you scream and...
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.  In my instance, the column is language.  To be able to reduce the query to the language column the code required is levels = selectedCategory?.levels.filter("language = %@", language)Language can be any string, in this instance for me language is a two alpha character such as 'fr', 'en' or 'de'. Further to this you can continue to chain this query through including sort as per levels =...
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...
Andrew Fletcher
After coding for 16 years... I have decided to have a go at building apps in...