• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compiler Error on Class Method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSMethodSignature throws an exception encoding GLKMatrix4 (From: Jeff Kelley <email@hidden>)
 >Compiler Error on Class Method? (From: Dave <email@hidden>)

  • Prev by Date: Re: Variable Number of Parameters in Method
  • Next by Date: Re: Variable Number of Parameters in Method
  • Previous by thread: Compiler Error on Class Method?
  • Next by thread: Re: Compiler Error on Class Method?
  • Index(es):
    • Date
    • Thread