Will someone please help me here? How do I do the following without
getting the pesky warning from Eclipse about unchecked type
conversion?
NSArray<NewsKeywords> newsKeywords =
EOUtilities
.objectsForEntityNamed
(EOSharedEditingContext.defaultSharedEditingContext(),
"NewsKeywords");
You can't ... None of the EOUtilities methods use static generic
declarations. You will have to add a @SuppressWarning annotation
(quickfix will do it for you). By the way, you should be using entity
constants (NewsKeywords.ENTITY_NAME) instead of string literals
("NewsKeywords") ... It will save you one day.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]