     lazy var codes: [ParseItem] = self.parseCode()
     let patternLink: String = "<a.*?href=\\\"([http|https].*?)\\\".*?>(.*?)</a>"
     let patternCode: String = "\\`{3}(.*?)\\n((.|\\n)*?)\\`{3}"
-    let senderActivity: NSUserActivity? = nil
+    var senderActivity: NSUserActivity? = nil
     
     // MARK: ライフサイクル
     override func viewDidLoad() {

        }
    }
    
    // MARK: NSUserActivityDelegate
    func userActivityWillSave(userActivity: NSUserActivity) {
        dispatch_async(dispatch_get_main_queue(), {() -> Void in
            Toast.show("お使いのデバイスのブラウザと同期しました", style: JFMinimalNotificationStytle.StyleSuccess)
        })
    }
    func userActivityWasContinued(userActivity: NSUserActivity) {
        userActivity.invalidate()
        self.userActivity = nil
    }
    
    func userActivity(userActivity: NSUserActivity, didReceiveInputStream inputStream: NSInputStream, outputStream: NSOutputStream) {
        
    }
    
    
}

    }
    
    override func viewWillDisappear(animated: Bool) {
        if let activity = self.senderActivity {
            activity.invalidate()
        }
        if self.isMovingFromParentViewController() || self.isBeingDismissed() {
