 
 // MARK: Associated objects
 
-extension UIViewController {
+public extension UIViewController {
 
     private struct AssociatedObjectKeys {
         static var sharingBarButtonItemTintColor = "UIViewController.sharingBarButtonItemTintColor"

        }
    }

    func shareViaEmailWithSubject(subject: String?, message: String?, isHTML: Bool, toRecepients:[String]?, ccRecepients:[String]?, bccRecepients:[String]?, attachments:[MessageAttachment]?) {
        if self.canShareViaEmail() {
            let mailController = MFMailComposeViewController()
            mailController.mailComposeDelegate = self;

        }
    }

    public var sharingTitleTextAttributes: [ String : NSObject ]? {
        get {
            return objc_getAssociatedObject(self, &AssociatedObjectKeys.sharingTitleTextAttributes) as? [ String : NSObject ]
        } set {
