Ghostboard pixel

05/17 - The Best iOS Development Links

05/17 - The Best iOS Development Links

The best iOS development links from May 2017.

Swift

What’s new in Swift 4.0: learn what’s changed and why.“Swift 4.0 is a major new release for everyone’s favorite app development language, and introduces a variety of features that let us write simpler, safer code. You’ll be pleased to know it’s nothing as dramatic as the epic changes introduced with Swift 3.0, and indeed most changes are fully backwards-compatible with your existing Swift code. So, while you might need to make a handful of changes it shouldn’t take long.”

Loose coupling using default implementations in protocol extensions: This article deals with the following question: “So how do we decouple the AppDelegate from configuring a backend service such as Firebase?” Definitely worth the read!

All about Concurrency in Swift – Part 1: The Present“In the first part of this series, we’ll take a look at what we have at our disposal with Swift 3, covering everything from Foundation locks, threads and timers to the language guarantees and the recently improved Grand Central Dispatch and Operation Queues.”

Picking the right way of failing in Swift“One major focus of Swift is compile time safety — enabling us as developers to easily focus on writing code that is more predictable and less prone to runtime errors. However, sometimes things do fail for various reasons — so this week, let’s take a look at how we can handle such failures appropriately, and what tools we have at our disposal for doing so.”

Object Oriented Programming in Swift“Learn how object oriented programming works in Swift by breaking things down into objects that can be inherited and composed from.”

5 Easy Dispatch Tricks: “Swift Dispatch offers a great way to schedule and control concurrent code. Here are five easy ways to improve your Dispatch experience. “

iOS Development

Protocols and MVVM in Swift to avoid repetition: In this post, the MVVM pattern is used for configuring and displaying an UITableView. As a result, the view controller is very tiny, which is something you should always strive for!

A Simple Undo/Redo Implementation in Swift: “NSUndoManager is a powerful API, but it is geared towards Objective-C code and relies on runtime features. This post demonstrates a simpler alternative that is better suitable for idiomatic Swift code.”

UIKit Global Functions: Some nice tips you probably don’t know about. Especially the functions for creating strings from certain types like CGPoint and CGRect are very handy.

How To Secure iOS User Data: The Keychain and Touch ID: “In this tutorial, you’ll be using the Keychain to store and verify login information and explore using Touch ID in your app.”

Charles Proxy Tutorial for iOS: “Learn how to intercept, inspect, and modify network requests with Charles Proxy to debug your iOS networking code or to take a peek inside other apps!”

Table views in iOS with Swift: a comprehensive guide (cells, data sources and MVC architecture): “Table views are a fundamental piece of almost all iOS apps. Still, most developers get them wrong, especially using Swift.” Well that’s true, so let’s read this article 😉

 Title Image: @ Gustavo Frazao / shutterstock.com