Hello everyone , I'm still new to iPhone programming and objective c so bear with me.
I would like to access my array from one to another class.
How can I realize this.
This is my situation :
I'm reading an xml file and my parser saves a lot in an array. I would like to assign the values from this array to an object.
ex.
myarray would be the array in my parserclass.
Does anyone know how to do this( or perhaps know an easier way ) ?
Again i'm new so if someone offers an explanation a little code sample would be nice
thanks in advance.
I would like to access my array from one to another class.
How can I realize this.
This is my situation :
I'm reading an xml file and my parser saves a lot in an array. I would like to assign the values from this array to an object.
ex.
Code:
[ aLabel setTitle: myarray objectAtIndex:2] forState:UIControlStateNormal];
myarray would be the array in my parserclass.
Does anyone know how to do this( or perhaps know an easier way ) ?
Again i'm new so if someone offers an explanation a little code sample would be nice
thanks in advance.