• 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
Non-standard attributes - avoid warning from data model compiler?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Non-standard attributes - avoid warning from data model compiler?


  • Subject: Non-standard attributes - avoid warning from data model compiler?
  • From: Jim Correia <email@hidden>
  • Date: Tue, 31 May 2005 12:37:38 -0400

<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/ Articles/cdNSAttributes.html>

I have an object with a color attribute. Per the documentation, I've added a colorData attribute (binary), and a color attribute (undefined) and will use the on demand get accessor.

When I specify the color attribute in the data model, I left it as undefined. When I build my app, the data model compiler tells me

    warning: Label.color -- transient attribute with undefined type

Is it possible to avoid this warning (we have a zero warning policy for code), and still leave the non-standard attribute in the model? Or should I just omit it from the model?

Thanks,
Jim

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Non-standard attributes - avoid warning from data model compiler?
      • From: Rick Ballard <email@hidden>
  • Prev by Date: .jni library and Cocoa
  • Next by Date: Re: NSTextView: Can't it be disabled?
  • Previous by thread: .jni library and Cocoa
  • Next by thread: Re: Non-standard attributes - avoid warning from data model compiler?
  • Index(es):
    • Date
    • Thread