- (void) getArrray : (NSArray*)arrray{
NSLog(@"Get Array %@",arrray);
}
-(DraggableView *)createDraggableViewWithDataAtIndex:(NSInteger)index
{
draggableView.information.text = [exampleCardLabels objectAtIndex:index]
}
I want the arrray data to examplecardlabels with out disturbing the methods. How could I get the data to createdraggable method from getdata method
please help me in this.
Make either a
property
or aglobal variable
in this class, then set it in the one method and read the value in the other method.