I am currently developing an app that relies heavily on retrieving web content. I have a series of NSObject classes that represent the content that I retrieve in JSON format. I also have NSManagedObject classes that represent my Core Data model that are almost identical.
Here is an example of an NSObject class that I use to hold my web ...
Edit: better example...
So I have an NSMutableSet of "existing" objects and I'd like to download JSON data, parse it, and merge these new objects with my existing ones, updating any duplicates with the newly downloaded ones. Here's what the existing set of objects looks like:
NSArray *savedObjects = [NSArray arrayWithObjects:
[NSD...
i have a array with data,i want to load the dictiionary type element with array......
NSArray *thisArray = [[NSArray alloc] initWithContentsOfFile:path];
NSSdictionary *state;
how to load the content with array....
any help appreciated...
...
I have an NSDictionary, with six objects, and the keys a, b, c... etc. What I am doing is removing three objects by their keys, and I don't know what objects are going to be removed, as they are determined by user input, so I could be left with a, d, and e. If this was an array, I could just access the ones left over by using objectAtInd...