Re: Compiler Error on Class Method?
Re: Compiler Error on Class Method?
- Subject: Re: Compiler Error on Class Method?
- From: Alex Zavatone <email@hidden>
- Date: Wed, 21 Aug 2013 15:02:30 -0400
By any chance is the method above it not closed?
Sent from my iPad
On Aug 21, 2013, at 12:58 PM, Dave <email@hidden> wrote:
> 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
_______________________________________________
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