Re: Convert to Objective-C ARC Syntax Error
Re: Convert to Objective-C ARC Syntax Error
- Subject: Re: Convert to Objective-C ARC Syntax Error
- From: Dave Zarzycki <email@hidden>
- Date: Sun, 01 Apr 2012 16:16:25 -0700
Brad,
This looks similar to Radar 10434539. Let me know if this works: simplify the header includes in your code to just #import <Quartz/Quartz.h> and just link against Quartz. If your code is already doing this, then let us know.
Thanks!
davez
On Mar 31, 2012, at 3:39 PM, Brad Stone <email@hidden> wrote:
> I used "Edit->Refactor->Convert to Objective-C ARC...". My app works fine but I'm getting a syntax error in Apple's header files. They're all in the same place: @private.
>
> There error is '__strong' only applies to objective-c object or block pointer types; type here is 'void *'
>
> Here's an example:
>
> /* Quartz Composer Composition Renderer */
> @interface QCRenderer : NSObject <QCCompositionRenderer>
> {
> @private
> __strong void* _QCRendererPrivate;
> }
>
>
> I'm thinking I should remove the __strong from these but I'm wondering why __strong was added here anyway and I'm wary about touching Apple's code.
>
> I'm at a loss.
>
> Thanks
>
> The same things happens in QCPlugIn.h, QCRendered.h, QCCompositionLayer.h, QCView.h, QCCompositionParameterView.h, QCCompositionPickerView.h, QCCompositionPickerPanel.h, QCPLugInViewController.h, IKImageBrowserView.h, IKImageBrowswerCell.h, IKImageBrowserView.h
> _______________________________________________
>
> 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