Compiler Error on Class Method?
Compiler Error on Class Method?
- Subject: Compiler Error on Class Method?
- From: Dave <email@hidden>
- Date: Wed, 21 Aug 2013 17:58:11 +0100
Hi,
I the following method generate an an:
Implicit conversion of Objective-C pointer type 'Class' to C pointer type 'struct objc_class *' requires a bridged cast
on the line marked below:
+ (NSString*) cacheDirectoryPath
{
NSString* myReturnValue; //**************** Error
[self.pDeveloperUtilities logEntryWithMethodName:@"+ cacheDirectoryPath",nil];
myReturnValue = [[super class] cacheDirectoryPath];
return (myReturnValue);
}
Any idea how to fix it would be greatly appreciated! I'm not sure why this is causing an error, it looks ok to me!
Thanks a lot
Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden