Accessing elements from an array in objective c
Posted
by James
on Stack Overflow
See other posts from Stack Overflow
or by James
Published on 2010-05-06T21:53:14Z
Indexed on
2010/05/06
21:58 UTC
Read the original article
Hit count: 216
I am trying to access individual elements of my array. This is an example of the contents of the array i am trying to access.
<City: 0x4b77fd0> (entity: Spot; id: 0x4b7e580 <x-coredata://D902D50B-C945-42E2-8F71-EDB62222C0A7/Spot/p5> ; data: {
CityToProvince = 0x4b7dbd0 <x-coredata://D902D50B-C945-42E2-8F71-EDB62222C0A7/County/p15>;
Description = "Friend";
Email = "[email protected]";
Age = 21;
Name = "Adam";
Phone = "+44175240";
}),
The elements i am trying to access are Name, Phone, etc ...
How would i go about doing this?
© Stack Overflow or respective owner