From 6bc9626f1341fc53ea4147eee45a5a0eb9746555 Mon Sep 17 00:00:00 2001 From: mattdonnelly Date: Sat, 14 Jun 2014 16:01:56 +0100 Subject: [PATCH] Include response in timeline success closures --- SwifterDemoMac/ViewController.swift | 2 +- SwifterDemoiOS/ViewController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SwifterDemoMac/ViewController.swift b/SwifterDemoMac/ViewController.swift index 1db7788b..289740ab 100644 --- a/SwifterDemoMac/ViewController.swift +++ b/SwifterDemoMac/ViewController.swift @@ -60,7 +60,7 @@ class ViewController: NSViewController { let swifter = Swifter(account: twitterAccount) swifter.getStatusesHomeTimelineWithCount(20, sinceID: nil, maxID: nil, trimUser: true, contributorDetails: false, includeEntities: true, success: { - statuses in + statuses, response in println(statuses) diff --git a/SwifterDemoiOS/ViewController.swift b/SwifterDemoiOS/ViewController.swift index 07f4dbfd..2f7dd867 100644 --- a/SwifterDemoiOS/ViewController.swift +++ b/SwifterDemoiOS/ViewController.swift @@ -61,7 +61,7 @@ class ViewController: UIViewController { let swifter = Swifter(account: twitterAccount) swifter.getStatusesHomeTimelineWithCount(20, sinceID: nil, maxID: nil, trimUser: true, contributorDetails: false, includeEntities: true, success: { - statuses in + statuses, response in println(statuses)