Downloading all the sample code from WWDC is a fairly tedious task. However, Johannes Fahrenkrug has created a handy RubyGem to download all the sample code for you. The code is available on GitHub and the gem is really easy to use.
It should be noted that all the sample code comes to 393.5 MB.
KGI’s Ming-Chi Kuo has sent out a new report with his top predictions for the 2017 iPhone lineup: two iterative updates to the iPhone 7 and iPhone 7 Plus, as well as the all-new OLED iPhone 8. The analyst believes that the iPhone 8 will feature the highest screen-to-body ratio of any phone on the market, thanks to the addition of the ‘notch’ at the top of the screen and a virtual home button.
However, KGI dampens spirits by stating that the virtual home button will not support fingerprint recognition, and that the OLED iPhone will not include a Touch ID sensor of any kind …
For several practical reasons, I don’t think Apple will remove Touch ID from any of the 2017 iPhones:
How would you unlock your iPhone when you are not looking at it?
In low-light scenarios, e.g. at the cinema or a bar, would your only option be to use a passcode?
If you wear any headwear, e.g. a niqab, burka, balaclava, or perhaps even sunglasses, how would Face-to-Unlock work?
It doesn’t make sense to remove Touch ID and replace it with something that is sub-optimal by comparison. My guess — well, hope — is that if Face-to-Unlock is implemented, it will be done so in an additive fashion and not in a way where Touch ID is consigned to the scrap heap.
As I rewrite Amazing Flag Quiz for iOS 11, one of the greatest things I’ve come across is the new Codable protocol in Swift 4. Before I get into why it’s great, here’s a bit of background: Amazing Flag Quiz v1 to v2.1.2 (current) contains an XML file of ids, country names (short and long, I don’t know why!), continent names, flag image names, and population (I don’t know why!). That file looks like this:
To use this file meant creating an NSXMLParser and all the code that goes along with it. For version 3 of Amazing Flag Quiz, I’ve decided to convert the XML to JSON and use a Country struct that conforms to Decodable.
There’s only been one iPhone generation that I wasn’t part of: the first. In the UK the iPhone was only available on o2 and I was with T-Mobile. That fact, coupled with my contract renewal time-frame, meant that I upgraded to a different phone: LG Viewty.
While the rest of the world wishes the iPhone a happy birthday, I thought I’d jot down some thoughts about the LG Viewty.
The front of the phone was OK, while the back of the phone was hideous: the camera lens was huge but, to be fair, it did take really good pictures. It also had 120fps video and direct upload to YouTube (in 2007). The camera, in retrospect, was way ahead of its time.
The back panel of the phone was removable. The reason I know this was that mine was faulty and kept falling off. The whole phone had to be sent for repair for three weeks and during this time I was given a loaner feature phone with capacity for 100 text messages.
Anyway, while the Viewty’s operating system was LG’s, the user interface was an Adobe Flash variant…so it was unresponsive and buggy. The Viewty also came with a stylus and I used it maybe three times. Tapping buttons provided haptic feedback, but because it was a resistance based touchscreen you had to put in effort, and have patience, before said feedback was felt and your tap was registered.
After about three months I gave up with the Viewty and sold it on eBay. For the remainder of my contract I used a Sony Ericsson W580 that I bought in a rage from Argos.