ZSContextWatcher sending self to delegate #4

Open
dillan opened this Issue May 4, 2012 · 0 comments

1 participant

@dillan

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];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment