Reputation: 167
I am creating a light twitter client for iOS using the Swifter library ... I've been able to use other functions in the library fine, but when I use the getBlockedUsers function, nothing happens (or I am doing it wrong). This is how i call the function:
swifter?.getBlockedUsers(includeEntities: false, skipStatus: true, cursor: "", success: mySuccess as? Swifter.CursorSuccessHandler, failure: failureHandler)
and this is what my success handler looks like:
let mySuccess: (JSON, String, String) -> Void = { someJson, someString, anotherString in print("some array: ", someJson)
print("some array: ", someString)
print("some array: ", anotherString)}
After this.... nothing is printed to the console. What am I doing wrong?
Upvotes: 1
Views: 38