Skip to main content
112
results
Andrew Fletcher
For detailed notes regarding how to add custom fonts to your iOS app see Apple's custom font notes. When using the font programmatically, remember that the font file name most of the time will not be the font name.  For example, I wanted to use SF-Pro-Text-Bold and its font name is SFProText-Bold.  If you want to check the font name, add the following script for family in UIFont.familyNames.sorted() { let names = UIFont.fontNames(forFamilyName: family) print("Family:...
Andrew Fletcher
To copy the content of a directory /source to another existing directory...
Andrew Fletcher
First transfer the drupal-8.8.x.tar.gz file to your directory Via your ssh...
Andrew Fletcher
To get your ip address in Terminal on OSX on WIFI ipconfig getifaddr en0Whereas...
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.  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
A list of languages for the iOS app in speech mode: Arabic (Saudi Arabia) -...