Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUSTOM Properties - now sharer specific instructions #339

Merged

Conversation

VilemKurz
Copy link
Contributor

#251 #332 #296

Hopefully the best and most straightforward way to get custom properties jungle right. This solution enables:

  1. type checking of former custom properties
  2. centralised documentation in DefaultSHKConfigurator. Everybody can use them now, without wasting time finding the possibilities and functionality hidden in ShareKit's implementation.
  3. central place, where you can change default instructions (behaviour) for particular sharer in your app's configurator
  4. custom properties are now really custom - they should be used only if someone needs to subclass some sharer with special needs. This makes SHKItem highly flexible.

jdandrea and others added 7 commits March 20, 2012 17:55
…s link descriptions.

SHKMail:
// You can now supply an optional, comma-separated recipient list.
[item setCustomValue:@"[email protected],[email protected]" forKey:@"toRecipients"];

// HTML mode is now optional (previously forced to YES).
// Set to "no" (case-insensitive) to disable. Default is still YES.
[item setCustomValue:@"no" forKey:@"isHTML"];

SHKFacebook:
// You can now supply an optional, custom description for shared links.
[item setCustomValue:@"My Shared Link Description" forKey:@"description"];
…s link descriptions.

SHKMail:
// You can now supply an optional, comma-separated recipient list.
[item setCustomValue:@"[email protected],[email protected]" forKey:@"toRecipients"];

// HTML mode is now optional (previously forced to YES).
// Set to "no" (case-insensitive) to disable. Default is still YES.
[item setCustomValue:@"no" forKey:@"isHTML"];

SHKFacebook:
// You can now supply an optional, custom description for shared links.
[item setCustomValue:@"My Shared Link Description" forKey:@"description"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants