-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support ASWebAuthenticationSession (#335)
* support multimedia * try finalizeUpload until succeeded * MultipartMediaType -> MediaType * modifer finalizeUpload * fixed SwifterMedia appendUpload * fixed length of appendUpload * Followed the official Twitter API procedure * separate private helper method * add authorize fucntion * update SwifterDemoMac * increased Swifter version of podspec * typo * Support ASWebAuthenticationSession to iOS - Removed code duplication as much as possible. - Improved Demo App and made the structure of the iOS demo and the macOS demo similar. * Put at return statement in the first `if` * Set nil to `session` after callback to avoid a retain cycle * Modified `let session` * Corrected `available` attributes * Fixed s.version
- Loading branch information
Showing
6 changed files
with
220 additions
and
119 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.