Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

converting object to another class



Hi,

i have some strange problems and i think it should be easy solved.
I have an entity of "apeople" in the database and an NSMutableArray wich stores all those "apeople".
This is "apeopleList".


Now i wanted to pass "apeopleList.objectAtIndex(0)" to the "apeople" with "setApeople(apeopleList.objectAtIndex(0))" but this does not work!

The error is: "setApeople(apeople) cannot be applied to (java.lang.Object)"

How can i manage it?

Thanks in advance!

cheers Christian telepski

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.