philippec / PhFacebook

MacOSX Interface to Facebook graph API
http://developer.casgrain.com/?p=107
Other
178 stars 44 forks source link

Cancel notification #20

Closed oscardelben closed 13 years ago

oscardelben commented 13 years ago

This will add an handy notification whenever the user clicks the cancel button or closes the facebook window manually. Hope it helps.

philippec commented 13 years ago

See other comment about rebasing your fork; other comments inline.

oscardelben commented 13 years ago

Should be better now. In the xib file I basically send the cancel action to the phwebviewcontroller instead of the first responder, so that I can send a notification to the delegate.

This is useful because I want to know if the user choosed not to authenticate with facebook.

BTW: In the xib file I noticed that there's a push button laying around. Not sure if it's needed.

oscardelben commented 13 years ago

Hope it's better now.