@@ -32,17 +32,17 @@ { return [[[self alloc] initWithPointer: pointer object: object] autorelease]; } -- init +- (instancetype)init { OF_INVALID_INIT_METHOD } -- initWithPointer: (void *)pointer - object: (id)object +- (instancetype)initWithPointer: (void *)pointer + object: (id)object { self = [super init]; _pointer = pointer; _object = [object retain];