Changes

Jump to: navigation, search
no edit summary
if arrayOfAccounts.count > 0 {
let twitterAccount = arrayOfAccounts.last as ! ACAccount
let requestURL = NSURL(string:
error: NSError!) -> Void in
var err: NSError?
self.dataSource = NSJSONSerialization.JSONObjectWithData(responseData, options: NSJSONReadingOptions.MutableLeaves, error: &err) as ! [AnyObject]
if self.dataSource.count != 0 {
NSJSONSerialization.JSONObjectWithData(responseData,
options: NSJSONReadingOptions.MutableLeaves,
error: &err) as ! [AnyObject]
if self.dataSource.count != 0 {
let cell =
self.tweetTableView.dequeueReusableCellWithIdentifier("Cell")
as ! UITableViewCell
let row = indexPath.row
let tweet = self.dataSource[row] as ! NSDictionary cell.textLabel!.text = tweet.objectForKey("text") as NSString? String cell.textLabel!.numberOfLines = 0
return cell
}

Navigation menu