[PR #112] [MERGED] change NSURLConnection to NSURLSession #521

Closed
opened 2026-03-03 16:49:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/112
Author: @ohcrfpv
Created: 9/27/2015
Status: Merged
Merged: 9/28/2015
Merged by: @dongri

Base: masterHead: master


📝 Commits (1)

  • ffaea96 change NSURLConnection to NSURLSession

📊 Changes

2 files changed (+57 additions, -71 deletions)

View changed files

📝 OAuthSwift/OAuthSwiftHTTPRequest.swift (+56 -70)
📝 OAuthSwiftDemo/WebViewController.swift (+1 -1)

📄 Description

fixed: OAuthSwiftHTTPRequest.swift:86:31: 'init(request:delegate:)' was deprecated in iOS 9.0: Use NSURLSession (see NSURLSession.h)
xcode warning


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/OAuthSwift/OAuthSwift/pull/112 **Author:** [@ohcrfpv](https://github.com/ohcrfpv) **Created:** 9/27/2015 **Status:** ✅ Merged **Merged:** 9/28/2015 **Merged by:** [@dongri](https://github.com/dongri) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`ffaea96`](https://github.com/OAuthSwift/OAuthSwift/commit/ffaea96e7973f7513989832a221dc21a6e547e0b) change NSURLConnection to NSURLSession ### 📊 Changes **2 files changed** (+57 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `OAuthSwift/OAuthSwiftHTTPRequest.swift` (+56 -70) 📝 `OAuthSwiftDemo/WebViewController.swift` (+1 -1) </details> ### 📄 Description fixed: OAuthSwiftHTTPRequest.swift:86:31: 'init(request:delegate:)' was deprecated in iOS 9.0: Use NSURLSession (see NSURLSession.h) ![xcode warning](https://cloud.githubusercontent.com/assets/3256161/10121445/52ccae22-651e-11e5-8d06-b1a4f7bd5595.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:49:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#521
No description provided.