i get this warning
warning: initialization from distinct Objective-C type
i googled this and i found out that it's caused when the returning type is no the same as the type it's being assigned too
however how is this possible when the two types match?
the initializer is like this:
the making of an instance is like this:
it's no different to any other initializing code yet it generates warnings and things that should happen never do... yet the object still exist when initialized....

warning: initialization from distinct Objective-C type
i googled this and i found out that it's caused when the returning type is no the same as the type it's being assigned too
however how is this possible when the two types match?
the initializer is like this:
Code:
-(ObjectOne*) initWithString: (NSString*) s {
self = [super init];
if(self) {
....
}
return self;
}
Code:
ObjectOne* oo = [[ObjectOne alloc] initWithString: @"bleh"];