> On May 6, 2016, at 1:42 PM, Carl Hoefs <[email protected]> wrote: > > I would have thought that this earlier line would have been flagged if > RAOperation.h hadn't been included: > > RAOperation *op = [self _popOperation: listPtr];
There must be a forward declaration (“@class RAOperation”) somewhere above, possibly in your class’s header. After a forward declaration, you can refer to the class and declare references to instances. But since the compiler has no idea what the class’s interface is, or even what it’s superclass is, it will complain if you try to message a reference. —Jens _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
