AppCoda Weekly - Issue #26

Welcome to AppCoda Weekly Issue #26! Apple has released beta 2 of Xcode 9. Have you downloaded it? Th
AppCoda Weekly - Issue #26
By AppCoda • Issue #26
Welcome to AppCoda Weekly Issue #26! Apple has released beta 2 of Xcode 9. Have you downloaded it? This week, we release a new tutorial on Swift 4. If you want to follow the tutorial, you will need Xcode 9 beta 2.
During this weekend, take some time to check out the tutorial. It is probably one of the most comprehensive tutorials about Swift 4.
Also we just release a huge update of our Intermediate Swift book that shows you how to work with Firebase. You can learn more about the book here.
Have a great weekend! 
Simon

Tutorials
What's New in Swift 4 by Example - AppCoda
Probably one of the most comprehensive guides to what’s new in Swift 4. Thanks Cosmin for writing this article. The new Codable protocol is our favourite. Which new feature of Swift 4 do you like most?
Asset Catalog Improvements 🎨
Asset Catalogs are a great way for us to organize and configure graphical assets for our app. The improvements to Asset Catalogs in Xcode 9 have been illustrated in this short but informative post.
New Xcode Build System And BuildSettingExtractor
Apple announced a new build system for Xcode, with an opt-in preview in Xcode 9. This is an awesome post on how to use the new build system for Xcode.
Network Reachability With Swift
With iOS 11, Apple introduced the property waitsForConnectivity in the URLSessionConfiguration to wait an internet connection before performing any network activity with URLSession. This means that, with this property set to true we don’t need to bother ourself checking manually the device’s connection and waiting a valid internet connection. URLSession will do it under the hood.
Statements, messages and reducers
This post shows how to structure programs around three tiers of computational units – statements, messages and reducers – and also discusses about the general problem of containing and isolating state that this restructuring aims to address.
Another Small UIKit Debugging Adventure
An interesting debugging session in which we can learn more about the behavior of apps with multiple UIWindows.
Ultimate Guide To JSON Parsing With Swift 4
With iOS 11, it is so easy to implement JSON parsing.
Safe Area Layout Guide
The topLayoutGuide and bottomLayoutGuide in iOS 7 are deprecated in iOS 11 and replaced by a single safe area layout guide as explained in this article.
HEIF: A First Nail In JPEG’s Coffin?
High Efficiency Image Format—HEIF—is a JPEG’s replacement just offered up by Apple, and is actually a standard created by the MPEG group, it’s a container rather than a format.
SSL Certificate Pinning In iOS Applications
Relying on simple HTTPS encryption is not enough even though SSL/TLS is considered to be mandatory when implementing client/server communications. We learn how to extract a server key as well as how to implement the pinning on iOS in this post.
Swift 4 implemented more of SE-0110, which caused a fairly serious usability regression, particularly with closures. Here are a few simple examples involving closures that worked in Swift 3 but do not work in Swift 4.
Ads / Sponsored
Learn Firebase by Building an Instagram-like App
We just released a new chapter of our Intermediate iOS 10 Programming with Swift ebook. You will learn how to build an Instagram-like app with Firebase.
Get Ready for iOS 11 and Swift 4
All our books come with 1-year free update. That means you will receive a free book update this fall if you purchase the book now.
UI/UX
The 9 Best Upselling Prompts for B2B SaaS Companies
Let us examine how some of the biggest SaaS companies upsell to customers with in-app messages. Here are the best upselling examples from successful B2B products.
Horizontal Scrolling In Mobile
Horizontal scroll saw a shift in acceptance with the emergence of technologies such as iPads and extensive usage of smartphones in the recent years. If it’s used wisely it saves a lot of vertical space and helps in compartmentalizing the content on an app.
The 1,000 Floor Elevator: Why Most Designers Fail Google’s Infamous Interview Design Challenge
Design challenges are nothing new but a Google interview challenge in particular seems to have captivated the global design community.
Dropbox’s Very Bad Not Okay UX On iOS
Erica Sadun points out at the horrible UX of the Dropbox’s iOS client and its fallout.
Libraries
Blog: Getting Started With Vision On iOS 11
A demo of the new Vision framework.
Metron
Metron is a comprehensive collection of geometric functions and types that extend the 2D geometric primitives provided by CoreGraphics.
Gavatar is Avatar generator for iOS Apps , written in Swift 3.
github.com  •  Share
News
iOS 11 preview: keep it simple, smarty - The Verge
If you haven’t checked out all the new features about iOS 11, take a look at this article.
Did you enjoy this issue?
AppCoda
By AppCoda
Must-read Swift & iOS programming articles for your weekend. Deliver every Friday!
Carefully curated by AppCoda with Revue. If you were forwarded this newsletter and you like it, you can subscribe here. If you don't want these updates anymore, please unsubscribe here.