Updated ZSContextWatcher, ZSReachability, added shared header. #6

Open
wants to merge 8 commits into
from

Conversation

Projects
None yet
1 participant

Made it so context watcher can fire notifications only if a given context matches the saving context. It still supports watching a persistent store coordinator Context watcher seems like it was supposed to send the results with the notification. I changed it so it does because the results were needed in my code. Changed ZSReachability define name to not conflict with other code. Added shared header so the code compiles on its own.

I changed the init method names because the initWithMOC method now has different functionality. I would rather have an existing user of this code have their code fail to compile so they look into what changed.

= added some commits Oct 16, 2013

=
Supports watching either a context or a persistent store coordinator …
…for changes. Also sends the results of the save with the notification as it seems that was the original intent (and it’s useful to have them).
=
Supports watching either a context or a persistent store coordinator …
…for changes. Also sends the results of the save with the notification as it seems that was the original intent (and it’s useful to have them).
=
Added shared header so the code compiles without messing with another…
… project’s pch file. This can be useful e.g. for using ZDS_Shared as a cocoapod.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment