New feature - Alternate Text for sharers #242
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've added new feature - alternate text for sharers. It works globally and doesn't require sharers code change, so it's transparent. It allows you setting custom text which will be shared if the give sharer is selected. Sharers are identified by their title (exactly as people see them in UIActionSheet which should be clear for users).
Examples updated.
Example right here:
Each sharer will get alternate text if it was set when getting "text" property of SHKItem. If no alternate text given, the property value is returned.
When it is needed. First of all - Twitter. Twitter uses markup which is useless for other places like Facebook and could look strange there. But allowing user create custom message for Twitter we simply solve the problem and bring more flexibility to awesome ShareKit.