Hi,
I get "Instance method 'conformsToProtocol:' found instead of class method
'conformsToProtocol:’” on the conformsToProtocol statement marked below.
If I remove the <LTWDetailViewProtocol> on the method definition, the warning
goes away?
Any idea how to fix this so I don’t get the warning?
Thanks a lot
Dave
-(instancetype) initWithDetailViewClass:(Class<LTWDetailViewProtocol>)
theDetailViewClass andDetailItemInfoDictionary:(NSDictionary*)
theDetailItemInfoDictionary
{
if ([theDetailViewClass conformsToProtocol:@protocol(LTWDetailViewProtocol)] ==
NO) //********************************
return nil;
self = [self initWithDetailViewClass:theDetailViewClass];
if (self == nil)
return self;
self.pDetailItemInfoDictionary = theDetailItemInfoDictionary;
return self;
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com
This email sent to [email protected]