delannoyk / SoundcloudSDK

A Client for Soundcloud's API written in Swift!
MIT License
87 stars 27 forks source link

Trouble searching for songs #50

Closed yeetmaster69 closed 7 years ago

yeetmaster69 commented 7 years ago

I have used the search code exactly as it appears in the documentation, but I let swift fix an auto-complete error. Here is what the search looks like: let test = Track.search(queries: queries, completion: (PaginatedAPIResponse) -> Void)

Im getting an error that says: Cannot convert value of type '((PaginatedAPIResponse) -> Void).Type' (aka '((PaginatedAPIResponse) -> ()).Type') to expected argument type '(PaginatedAPIResponse) -> Void'

I don't know what to do

MchlG commented 7 years ago

Please share your code, I believe I can help solve your issue

delannoyk commented 7 years ago

Closing this due to inactivity. Please reopen if needed.