Property Observers in swift

Property observers in swift are somewhat like any other observers available in iOS SDK. In iOS app development, observers are the objects that notify user on a particular event. With property observers, a block of code gets called when property values changes. Property observers provides developer a handy way to monitor changes to the property. …

Property Observers in swift Read More »

Difference between escaping and non escaping closures

In this post we are going to learn, difference between escaping closures and non-escaping closures. Closures are self contained block of functionality that can be pass around and used in your code. If you are not familiar with closures in swift, then you can learn from given below link https://iostutorialjunction.com/2018/04/how-to-write-closures-in-swift-beginner-tutorial.html Closures types There are two …

Difference between escaping and non escaping closures Read More »