On 22/02/2009, at 10:27 AM, Aaron Wallis wrote:
if I remove the #import "TMPSTManagedFile.h" from the header of the
class and change it to @class TMPSTManagedFile the error goes away,
and the application *would* run fine, if I didn't start getting
errors caused from the ObjC 2.0 style property accessors like:
TMPSTManagedFile *tFile = [blah blah];
NSLog(@"%@", tFile.name);
In which case I start getting errors like:
Error: request for member 'name' in something not a structure or union
Any ideas?
Are you #importing the header file for "TMPSTManagedFile" in the .m
file?
Towards the start of TMPSTLocalStore.m, you're declaring a static
pointer within the @implementation. I didn't think you could do this,
I thought you could only declare a static variable outside of the
@implementation in the .m file.
Kiel
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]