How would this code differ if the method was in a different class?
[saveButton addTarget:self action:@selector(saveArray) forControlEvents:UIControlEventTouchUpInside];
Pass the object (which responds to the method) as the target parameter.
[saveButton addTarget: targetObj action: @selector (saveArray) forControlEvents: UIControlEventTouchUpInside];
You need to replace with an selfinstance of another class.
self