https://iswift.org/cookbook/calculate-power-of-a-number
Double-clicking on a curly bracket in Xcode 10 highlights the affected block of code. Cool!
Discovered the rounded() instance method today (https://developer.apple.com/documentation/swift/floatingpoint/2295900-rounded#discussion) and how creating a constant can allow the casting of data types more easily.
var numberOfBottles = totalVolume / volumeEachBottles numberOfBottles.rounded(.up) or numberOfBottles.rounded(.down)
Ever wondered what those funny symbols mean? https://stackoverflow.com/questions/6662395/xcode-intellisense-meaning-of-letters-in-colored-boxes-like-f-t-c-m-p-c-k-etc
Courtesy of #LondonAppBrewer this little gem of a link will bring clarity to the JSON objects you work with. http://jsoneditoronline.org/
https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/
https://developer.apple.com/library/archive/navigation/
How cool is that?! You can now side-load apps with WiFi! No more cables. Wa Hoo! @LondonAppBrewer #100DaysOfCode First connect the iPhone & computer with the lightning cable. Then in Simulator menu go to Hardware > Device > Manage Devices... then Tick Connect via Network. Do disconnect the cable from the iPhone and commence side-loading.
Just installed Datum Free (https://itunes.apple.com/gb/app/datum-free/id901631046?mt=12 …) to get a view into SQL lite data in the ToDoey App exercise (& all that CRUD 😉) with @LondonAppBrewer #100DaysOfCode