• 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
XCode 2.0 warning with @class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: XCode 2.0 warning with @class?
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: viewing globals?
  • Next by Date: Re: viewing globals?
  • Previous by thread: Xcode 2.1 FRAMEWORK_SEARCH_PATHS?
  • Next by thread: Re: XCode 2.0 warning with @class?
  • Index(es):
    • Date
    • Thread