Skip to main content
26
results
Andrew Fletcher
Adding a floating decimal point for n number of places is quite easy to achieve.  The key to understand is the receive an outcome of a fraction the numbers need to be Double.  So Int numbers will result in a whole number product.  By way of example: 80 / 3 = 26 We know that this result is incorrect.  To get the correct outcome the equation needs to be as follows: 80.0 / 3.0 = 26.666666666666667 If you have a whole number - add Double to the whole number.  So...
Andrew Fletcher
Adding a pem file to secure ejabbered on the server for chat connection. Getting...
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
During the process of building the app, there are warnings about the code.  It's good practice to remove all warnings before you submit your apps to the App Store so there's a few steps you can follow to silence these warnings: Navigate the the Project Settings page below; Select the drop down menu next to Devices; Change from Universal to iPhone; then Run your app again and the warnings should disappear.
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
If you have this error, the core issue is the dyld issue. dyld dyld is a...
Andrew Fletcher
After coding for 16 years... I have decided to have a go at building apps in...
Andrew Fletcher
While I have posted an article about how to POST an image using REST in Drupal 8... the journey there can be slow.  Crawling through the errors to eventually spot the missing link.  For me the how to is as important as the solution. On the journey I did receive the following 404 Not Found error: GuzzleHttp\Exception\ClientException: Client error: `GET https://yourdomain.com/sites/default/files/pictures/imagename01.jpg` resulted in a `404 Not Found` response: <!DOCTYPE...