Skip to content

Commit

Permalink
Add note about delegate methods to the class documentation of URLSess…
Browse files Browse the repository at this point in the history
…ionClient
  • Loading branch information
designatednerd committed Apr 21, 2020
1 parent 97497c5 commit 4527d0b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/Apollo/URLSessionClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ import Foundation

/// A class to handle URL Session calls that will support background execution,
/// but still (mostly) use callbacks for its primary method of communication.
///
/// **NOTE:** Delegate methods implemented here are not documented inline because
/// Apple has their own documentation for them. Please consult Apple's
/// documentation for how the delegate methods work and what needs to be overridden
/// and handled within your app, particularly in regards to what needs to be called
/// when for background sessions.
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {

public enum URLSessionClientError: Error {
Expand Down

0 comments on commit 4527d0b

Please sign in to comment.