MCQs>IT & Programming>Objective C>Objective-C methods with certain names (“init”, “alloc”, etc.) always return objects that are an instance of the receiving class’s type; such methods are said to have a “related result type”. A method with a related result type can be declared by using:
Objective C MCQs
Objective-C methods with certain names (“init”, “alloc”, etc.) always return objects that are an instance of the receiving class’s type; such methods are said to have a “related result type”. A method with a related result type can be declared by using:
Answer
Correct Answer: instancetype
Explanation:
Note: This Question is unanswered, help us to find answer for this one