If you have a need for displaying the GPS location information in Degrees, minutes, and seconds (DMS) format these functions will help you out. Reference: https://stackoverflow.com/questions/27996351/swift-convert-decimal-coordinate-into-degrees-minutes-seconds-direction/50765689#50765689
Category: Swift
Swift – iOS – Read Language JSON File Into Controls
If you have an app that doesn’t use the internet or can’t use the internet but still want basic multi-language capability the below will help. First add some labels and buttons. In adding the buttons add it twice (once as IBOutlet and then IBAction) Create a JSON file, in my…
Swift – iOS – Get Device Identity
This code will help you determine what phone or device is using your app. In your ViewController put this under your imports In ViewDidLoad or somewhere else as needed you can call to the above with Sorry but I do not remember the location that I originally found this.
Swift – System Uptime
I specifically use this in an iOS app but you should be able to use this in iOS or Mac OS The first function will get the Uptime of the system in seconds while the second function will convert the seconds into a easier to read/understand format.