Created
July 24, 2016 16:30
-
-
Save vani2/f30375617dae7e9da1c3b6dcdf7de0db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#1 Не указываем | |
service.searchWithKeyword(keyword, | |
offset: offset, | |
limit: limit, | |
completion: { result in | |
//... | |
} | |
failure: { error in | |
//... | |
}) | |
//#2 Указываем | |
service.searchWithKeyword(keyword, | |
offset: offset, | |
limit: limit, | |
completion: { (result: [Transaction]) in | |
//... | |
} | |
failure: { (error: Error) in | |
//... | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment