C Functions vs. ObjC methods
Objective-C method:
-(type)name: (type) v1 argName2: (type) v2 {
(body)
return val;
}
C function:
-(type)name((type) v1,(type) v2)) {
(body)
return val;
}
Code in body could
look exactly the
same in C and Objective-C
Previous slide
Next slide
Back to first slide
View graphic version