I use a class that returns array as the following :
%hook firstHeader
-(void)firstMethod:(id)array{
NSLog(@"Array %@", array);
return %orig;
}
%end
the nslog result :
array (
"<secondHeader: 0x17a2f3c0>",
"<secondHeader: 0x17a2f530>",
"<secondHeader: 0x17a2f5b0>",
"<secondHeader: 0x17a2f720>"
)
Bear with me but I may sound dumb here;
how can i use the result's array object with secondHeader
,
As secondHeader
( or secondClass ) contains methods
Summary : First class's method returns array with objects, it wants me to use those objects with another class/header which is secondHeader