Uncategorized

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 »

Get number of days between two dates in swift

Want to calculate number of days between two dates in swift, or difference of days between two dates in swift. If you are looking for objective C tutorial for getting number of days between two dates in Objective C, then check given below link https://iostutorialjunction.com/2016/01/calculate-number-of-days-between-two-dates.html Getting number of days between two dates Below is the …

Get number of days between two dates in swift Read More »