     public var name: String {
         switch self {
 
-        case .text(_):
+        case .text:
             return UIActivityType.message.rawValue
 
-        case .email(_):
+        case .email:
             return UIActivityType.mail.rawValue
 
-        case .twitter(_):
+        case .twitter:
             return SLServiceTypeTwitter
 
-        case .facebook(_):
+        case .facebook:
             return SLServiceTypeFacebook
 
-        case .sinaWeibo(_):
+        case .sinaWeibo:
             return SLServiceTypeSinaWeibo
 
-        case .tencentWeibo(_):
+        case .tencentWeibo:
             return SLServiceTypeTencentWeibo
 
-        case .pasteboard(_):
+        case .pasteboard:
             return UIActivityType.copyToPasteboard.rawValue
 
-        case .photos(_):
+        case .photos:
             return UIActivityType.saveToCameraRoll.rawValue
 
-        case .activityController(_):
+        case .activityController:
             return "com.apple.activityController"
             
         }


public extension UIViewController {

    private struct AssociatedObjectKeys {
        static var sharingBarButtonItemTintColor = "UIViewController.sharingBarButtonItemTintColor"
        static var sharingBarTintColor = "UIViewController.sharingBarTintColor"
        static var sharingTitleTextAttributes = "UIViewController.sharingTitleTextAttributes"


public struct SocialShareParameters {

    let network: ShareDestination.SocialNetwork
    let message: String?
    let images: [UIImage]?
    let urls: [URL]?

    init(network: ShareDestination.SocialNetwork, message: String? = nil, images: [UIImage]? = nil, urls: [URL]? = nil) {
        self.network = network
        self.message = message
        self.images = images
        self.urls = urls
