• 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
Convert to Objective-C ARC Syntax Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: iPad 5.1 simulator
  • Next by Date: Order of Finder labels
  • Previous by thread: Re: iPad 5.1 simulator
  • Next by thread: Order of Finder labels
  • Index(es):
    • Date
    • Thread