Convert to Objective-C ARC Syntax Error
Convert to Objective-C ARC Syntax Error
- Subject: Convert to Objective-C ARC Syntax Error
- From: Brad Stone <email@hidden>
- Date: Sat, 31 Mar 2012 18:39:12 -0400
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