Try the search, it's linked to some great forums

Thursday, June 30, 2011

A typical (id)init method

This example shows a;
- (id)init {
    // Set self's frame to encompass the image
    if (self = [self initWithFrame:frame]) {
        placardImage = image;
        [self setupNextDisplayString];
    }
    return self;
}

The (id) allows for ANY object, and it must return it's self