Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Can you please provide examples of Overcoat+PromiseKit using Swift ? #142

Open
eliasturbay opened this issue Sep 9, 2016 · 1 comment

Comments

@eliasturbay
Copy link
Contributor

eliasturbay commented Sep 9, 2016

@sodastsai it would be great if you can provide examples in Swift for this great library. I would highly appreciate it. Thanks in advance!

For instance, I was trying to convert this:

`- (AnyPromise *)fetchTeamUsers {

return [self GET:@"quickref/scoutlist" parameters:nil].then(^(OVCResponse *response) {
    return response.result;

}).catch(^(NSError *error) {
    return [HTOTeamUserModel fetchCache];
});

}`

into Swift but I'm so new to it that I'm lost :(

@sodastsai
Copy link
Member

sodastsai commented Sep 9, 2016

Hi,

Sorry, it has been a while since last time I used Overcoat and even I don't use PromiseKit before. I cannot help you either. :( (and actually I don't maintain this project anymore.) Maybe you should ask other members?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants