   // Default to using the iOS account framework for handling twitter auth
   let useACAccount = true
   
-  func performAction() {
+  @objc func performAction() {
     
     if useACAccount {
       let accountStore = ACAccountStore()

      }
    }
  }
  
  @objc func postTweet() {
    let tweet = Sentence().tweet()
    if tweet.characters.count <= 140 {
      swifter.postTweet(status: tweet, success: { status in

        UserDefaults.standard.set(date, forKey: "TWEETDATE")
        NotificationCenter.default.post(name: NSNotification.Name(rawValue: "NEW_DATE"), object: nil)
      })
    } else {
      postTweet()
    }
    DispatchQueue.main.async {
      Timer.scheduledTimer(timeInterval: 3600, target: self, selector: #selector(self.performAction), userInfo: nil, repeats: false)
    }
  }
}
