With iOS 10, tvOS 10, and watchOS 3, Apple is introducing a new framework called the UserNotifications framework. This brand new set of APIs provides a unified, object-oriented way of working with both local and remote notifications on these platforms. This is particularly useful as, compared to the existing APIs, local and remote notifications are now handled very similarly, and accessing notification content is no longer done just through dictionaries.
In this tutorial, I’ll go through the basics of this new framework and show how you can easily take advantage of it to support notifications for your applications.
This tutorial requires that you are running Xcode 8 with the latest iOS, tvOS, and watchOS SDKs.
Tutorial
RxSwift For Dummies 🐣
RxSwift is one of those things you have to try yourself to really start appreciating. It’s the one piece of the puzzle that I was missing to glue all the patterns like MVVM, VIPER, Coordinators/Routing.
It’s hard to express what RxSwift really is, because it does a lot. In general it serves as a great observer pattern with a mix of functional and reactive programming. It’s important to say what it isn’t and it isn’t Functional Reactive Programming in it’s original definition. It’s heavily inspired on FRP, so we can say that it contains Reactive and Functional features.
If you don’t know what FRP is, don’t worry for now – you’ll be able to discover it yourself in this tutorial. You’ll gradually learn what Functional and Reactive mean in the FRP.
OAuth 2.0 with Swift Tutorial
OAuth 2.0 is a tricky subject. In this tutorial you will learn how to use OAuth2 in an iOS app, in 3 different ways.
How to Create a Complex Loading Animation in Swift
Learn how to create a complex loading animation in Swift with this step-by-step tutorial.
Unit Testing Tutorial: Mocking Objects (Swift)
How To Implement A Circular Image Loader Animation with CAShapeLayer
Learn how to create a cool circular image loader animation in Swift using a shape layer, layer mask, and more!
The GIF to the right shows the loading animation, which marries a circular progress indicator with a circular reveal animation. The combined effect is fascinating, unique, and more than a little mesmerizing!
This tutorial will show you how to recreate this exact effect in Swift and Core Animation. Let’s get animating!
Swift Functional Programming Tutorial: Functors And Nomads Explained
Here’s a tutorial from Javier Soto on functional programming in which he goes in-depth describing some functional programming concepts using Swift examples.
In the tutorial Javier explains what a functor is, and using nice example describes what a specific type of functor – the monad – is.
Video Tutorial: Creating A Dribbble Client App In Swift Using UICollectionView
Here’s a nice straightforward (about 35 minutes) step-by-step video tutorial series that explains how to create a simple Dribbble client app using UICollectionView submitted by Tope Abayomi.
Specifically in the series you’ll learn how to:
- Get your Dribbble key
- Use NSURLSession to download data from Dribbble
- Parse the JSON response from the Dribbble API in Swift
- Display the downloaded data and images in a UICollectionView
- Load the images asynchronously
Secure Your App’s Passwords with Safari AutoFill in iOS 8
Learn how to use Safari AutoFill in iOS 8 to generate passwords, securely save passwords, and share and synchronize passwords between your app and website.
This article will show you how to implement these capabilities in your app, and you can follow along using a sample project that contains Swift, HTML and Python code.
UIKit Dynamics – Collision Detection in iOS8 with Swift
With UIKit Dynamics you can specify collision behaviours to your objects. The dynamic items can collide with each other and/or any boundary you specify. In this tutorial we will create some custom boundaries and randomly let some squares fall down on to these boundaries. This tutorial is built in iOS 8.1 and Xcode 6.1