Created
June 23, 2018 13:15
-
-
Save MaximBazarov/a9b5c65f9e0166b2a2a2a7b2bbfa6cbe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
func profileScreenisAboutToAppear() { | |
// at that moment we suppose to download information | |
let action = Downloader.DownloadUserProfile( | |
baseURL: state.api.profile.baseURL | |
endpoint: state.api.profile.getProfile | |
profileID: state.profile.id | |
authToken: state.auth.token | |
retryCount: state.api.retryCount | |
) | |
core.dispatch(action: action) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment