Debugging and testing Push notification is always tricky and time consuming.
Knuff OS X app along with Knuff iOS app can make our lives a little easier to debug and test push notification.
As we are familiar with MVC design pattern and it is one of the standard approach to build iOS Applications. MVVM is very similar to MVC. It formalizes the tightly coupled nature of the view and controller and introduces a new component
defer is a new keyword indroduced in Swift 2.0. With this statement you can declare clean-up code, that is executed just before the current scope ends.
SwiftLint is a tool which enforce to follow Swift style and conventions, based on GitHub’s Swift Style Guide.
Apple had added a new feature to the protocol i.e. protocol extension.While it may only seem like a minor feature at first, but this improved feature in swift allow us for a new type of programming i.e. protocol-oriented programming.
In Objective-C Xcode generate compile time warning by using
#warning preprocessor directive in your code. Unfortunately, this is not available when using Swift.