I want to delete my two plist after I am done with them. I am trying this using this line:
[[NSFileManager defaultManager] removeFileAtPath:path error:NULL];
This give me error:
No visible @interface for 'NSFileManager' declares the selector 'removeFileAtPath:error'
Is this because I am not using NSObject?
in .h
:UITableViewController<UIApplicationDelegate,UIAlertViewDelegate>
How can I fix this error or delete the plist files?