XCode 2.0 warning with @class?
XCode 2.0 warning with @class?
- Subject: XCode 2.0 warning with @class?
- From: Marc Respass <email@hidden>
- Date: Wed, 28 Sep 2005 15:53:15 -0400
Hi,
I found XCode 2.0 (it's on the Tiger DVD) and managed to revert. All
my weird warnings are gone and one old one is back. I like it when my
released compiles with zero warning and zero errors. My app uses
bindings and in my controller I setup my NSValueTransformer in
+initialize like this
id transformer = [[[PersonNameOnlyTransformer alloc] init]
autorelease];
[NSValueTransformer setValueTransformer:transformer
forName:PERSON_NAME_ONLY_TRANSFORMER];
I use @class PersonNameOnlyTransformer for each transformer since
they are only used when I setup the tranformers. I get the following
warning.
Controller.m:29: warning: `PersonNameOnlyTransformer' may not respond
to `+alloc'
It seems a silly warning but I suspect I set some level of warning
too high and can't find the setting now. Anyone know how I can get
around this warning?
Thanks a lot
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden