                     self.tweets.append(Tweet(fullname: aTweet["user"]["name"].stringValue, username: aTweet["user"]["screen_name"].stringValue, avatarURLString: aTweet["user"]["profile_image_url_https"].stringValue, tweetText: aTweet["text"].stringValue, timeStamp: aTweet["created_at"].stringValue))
                 }
                 if let query = json["search_metadata"]["next_results"].string {
-                    print(self.tweets.count)
                     if self.tweets.count < 1000 {
                         self.getTweets(self.parseStringToDictionary(query.stringByReplacingOccurrencesOfString("?", withString: "")))
                     }

        return parsedQuery
    }


    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.

        self.selectTwitterAccount()
        statusBarHeight = UIApplication.sharedApplication().statusBarFrame.size.height
        screenSize = UIScreen.mainScreen().bounds.size
    }
    
    private func selectTwitterAccount() {
        let accountType = accountStore.accountTypeWithAccountTypeIdentifier(ACAccountTypeIdentifierTwitter)
        accountStore.requestAccessToAccountsWithType(accountType, options: nil) { (granted:Bool, error:NSError?) -> Void in
            if error != nil {
                self.presentViewController(self.createErrorAlert("通信が失敗しました", type: .Alert), animated: true, completion: nil)
