Posted On: Dec 17, 2020
Delegates are used in iOS to establish communication within modules that are partially related to each other. For instance, passing data forward is very easy with the use of segue. However, sending data backward is a little tricky, so we use the delegate to send the data backward.
Never Miss an Articles from us.
SwiftUI is a framework to build User Interfaces (UI) for iOS apps entirely with Swift code, using a novel declarative approach. Take Free : IOS Swift MCQ Exam...
The high order functions in swift are as followsMap Filter Sorted Reduce Chaining Contains AllSatisfy RemoveAll CompactMap FirstIndex and LastIndex ...
In Objective-C, the self is a special variable, in an instance method that refers to the receiver (object) of the message as well as invoking the method, while in a class method the self will indicate...