Objective C Implementations by Example
Implementations
Implementations are class definitions that provides the method definitions. A sample implementation for the class Car for which we created an interface earlier is shown below.
/* Every class implementation starts with
@implementation keyword followed by class name.
*/
@implementation Car
- (void)start{
// Method definition
}
/* Every class implementation ends with
@end keyword.
*/
@end