SUUpdater Notifications #234

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@rustle

SUUpdater Notifications for events that might be interesting to more than just the delegate

@andymatuschak

Thanks for the pull request!

Hm. I am wary of this kind of API. How are you using all these?

@rustle

We attach the delegate to the app delegate or some other long lived object so it can handle messages that require a decision

-(BOOL)updaterMayCheckForUpdates:(SUUpdater *)bundle;

for example.

We then use the notifications to keep transient objects like preference UI up to date.

@andymatuschak
@rustle

Yes, for the preferences UI case bindings would probably be more correct.

@rustle rustle closed this Jan 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment