My Books
-
Mark Time
Mark Time is an application for Celestial Navigation that solves the problem of how to take an accurate time reading to go with each sextant sighting. Here is how it was developed...
-
Moving to Hugo
Yesterday, I came to update my blog: I had a new post in draft form and I wanted to update the Swift code to version 4. However installing High Sierra had removed Jekyll which is the site generator that I had been using. I re-installed Jekyll but found that it had been updated from version 2 to version 3.
-
JSON Parsing in Swift 4
Updated: 3rd September 2017.
- Checked syntax using Xcode 9.0 beta 6.
- Added section on allowing for nulls.
Since JSON has become the de facto standard for data transfers around the internet, there has always been a lot of interest in Swift libraries to parse JSON into Swift classes or structs. Searching for "swift json library" on GitHub discovers
7786 repositories. So why are there so many? And what has Swift 4 done to sherlock them all? -
Posting from my new iPad
Last week I got a 10.5” iPad Pro. I have had an iPad ever since the original release, but I have to confess to mainly using it for content consumption rather than creation. Since I am usually close to a Mac anyway, there didn’t seem a lot of point. But now that iOS 11 is really addressing the issue of making the iPad a "pro" device, I decided to give it a try.
So here I am, sitting in an armchair with my iPad on my lap, writing this post and working out the details as I go. Any typos are due to the cat trying to compete with the iPad for space on my lap!
iPad
As already mentioned, I have a new iPad Pro. I also have an Apple Pencil which I use for taking notes. I do not have a keyboard, so I am using the on-screen keyboard right now.
-
JSON Feed for TrozWare
jsonfeed.org has announced a new format for web site feeds, designed as an alternative to RSS. TrozWare has had an XML RSS feed for years, but I don't think anyone ever uses it (I certainly don't), so today I have replaced it with a JSON feed, which you can access through the button at the top of every page.