I thought I would ask before I start to write out some code that would compare 2 NSDictonaries. I wanted to see if there is some class that would make it easier and faster.
I have 2 plists
allClientsPlist
selectedClientPlist
The user selects a client from the tableView and it extracts the current client from the allClientPlist and saves it to the selectedClientPlist to work with instead of the entire list of clients.
It then pushes a new view on to the stack. In the new view the user can make changes to the phone numbers and so on. When the user presses the back button to return to the previous viewController It writes the changes, if any, to the selectedClientPlist.
Now back in the first viewController again I want to compare the selectedClientPlist against the on stored in an index of the allClientPlist to see if they are identical. If not I want to replace the information for this client in the allClientsPlist.
I am going to load the client from both plists in to 2 NSDictonary and then compare their Key/Value pairs which are NSStrings.
I thought there might be something created already that I could take advantage of that would do this for me, that I don't know about yet?
I thought I would check first.
Thanks
I have 2 plists
allClientsPlist
selectedClientPlist
The user selects a client from the tableView and it extracts the current client from the allClientPlist and saves it to the selectedClientPlist to work with instead of the entire list of clients.
It then pushes a new view on to the stack. In the new view the user can make changes to the phone numbers and so on. When the user presses the back button to return to the previous viewController It writes the changes, if any, to the selectedClientPlist.
Now back in the first viewController again I want to compare the selectedClientPlist against the on stored in an index of the allClientPlist to see if they are identical. If not I want to replace the information for this client in the allClientsPlist.
I am going to load the client from both plists in to 2 NSDictonary and then compare their Key/Value pairs which are NSStrings.
I thought there might be something created already that I could take advantage of that would do this for me, that I don't know about yet?
I thought I would check first.
Thanks