Hello,
I am saving my application prefernces into a plist file. I want to be able to edit the preferences through my program.
I have tried using NSMutableDictionary and NSMutableArray as in:
However, I am getting warning saying "initialization from distinct Objective C type". How can I solve this warning? Is there some other way of editing the plist file thru program?
I am saving my application prefernces into a plist file. I want to be able to edit the preferences through my program.
I have tried using NSMutableDictionary and NSMutableArray as in:
Code:
//Read the preferences from the PLIST file to the local cache
NSMutableDictionary *appPreferences = [NSMutableDictionary dictionaryWithContentsOfFile:[PREFERENCES_FILE stringByExpandingTildeInPath]];
NSMutableArray *appPrefKeys = [appPreferences allKeys];
However, I am getting warning saying "initialization from distinct Objective C type". How can I solve this warning? Is there some other way of editing the plist file thru program?