My app has many views and their respective controllers. Now I have a set of model classes with business logic in them. One of the model classes(subclass of NSObject) has the res
Here is the code for Swift 2.2 iOS 9.3
UIApplication.sharedApplication().beginIgnoringInteractionEvents()
UIApplication.sharedApplication().endIgnoringInteractionEvents()
Use it frequently, work like champ for me, very useful for a view with many IBActions that make API call and you dont want to make another call in waiting for first response