Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
ZSContextWatcher sending self to delegate #4
There appears to be an error in contextUpdated: of ZSContextWatcher. At line 104 in ZSContextWatcher.m it currently reads:
[[self delegate] performSelectorOnMainThread:[self action] withObject:self waitUntilDone:YES];
Just above those lines a dictionary is created containing all of the changes the watcher has found. If I understand correctly it should be returning that change dictionary, and not the watcher. So the correction would be:
[[self delegate] performSelectorOnMainThread:[self action] withObject:results waitUntilDone:YES];