         }
     }
     
-    // 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) {
-        
-    }
-    
-    
 }

    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
    
    // MARK: ライフサイクル
    override func viewDidLoad() {

        
        if let entry = self.displayEntry {
            
            if let activity = self.senderActivity {
                
            } else {
                self.senderActivity = NSUserActivity(activityType: QCKeys.UserActivity.TypeSendURLToMac.rawValue)
                self.senderActivity!.title = "QiitaCollection"
                self.senderActivity!.becomeCurrent();
            }
            self.senderActivity!.webpageURL = NSURL(string: entry.urlString)
            
            Toast.show("閲覧中の投稿をHandoff対応デバイスとシンクロしました", style: JFMinimalNotificationStytle.StyleSuccess)
        } else {
            Toast.show("投稿データがないようです...", style: JFMinimalNotificationStytle.StyleWarning)
        }
