memory leak when removing objects in NSMutableArray
- by user262325
Hello everyone
I hope to store MYFileObj to NSMutableArray (fileArray) and display data on an UITavleView(tableview).
//----------------------------------MYFileObj
#import <UIKit/UIKit.h>
@interface MYFileObj : NSObject {
NSString *fileName;
}
-(void) setFileName:(NSString *)s ;
-(NSString *) fileName ;
@end
the array I want…