InterviewSolution
Saved Bookmarks
| 1. |
Explain Class Definition In Objective-c? |
|
Answer» A class definition begins with the KEYWORD @interface followed by the interface (class) name, and the class body, closed by a pair of curly BRACES. In Objective-C, all classed are retrieved from the base class called NSObject. It gives BASIC methods like memory allocation and INITIALIZATION. A class definition begins with the keyword @interface followed by the interface (class) name, and the class body, closed by a pair of curly braces. In Objective-C, all classed are retrieved from the base class called NSObject. It gives basic methods like memory allocation and initialization. |
|