ShareKit/ShareKit — pull request #244 by drewjw81 (2012-02-21 08:26:45+00:00)
Title: Prevent excluded sharers from being placed in favorites.

I'm excluding a few sharers from the ActionSheet (facebook, twitter) so that I can place direct links to them at the request of a client. After doing this I noticed that these sharers are being placed in the favorites which caused the action sheet to have only one or two buttons when it's loaded.

This code prevents excluded sharers from being added to favorites.

Also, excluded sharers are being stored inconsistently. In SHK.m it's accessed as an Array and in SHKShareMenu it's stored and accessed as a Dictionary. I felt an Array makes the most sense as exclusions are just a list of strings, and there's no need for a dictionary.

The code change I made in SHKShareMenu is just a temp fix to prevent an error, it should probably be reworked to use an NSArray exclusively.