Quantcast
Viewing latest article 2
Browse Latest Browse All 39

Comment by kubi on "Does not conform to protocol" error when extending different class

My protocol specifies one function, which returns a URLSessionDataTask. NSURLSession has the same function, except it returns a NSURLSessionDataTask, which adopts URLSessionDataTask, so I would expect this to work.

Viewing latest article 2
Browse Latest Browse All 39

Trending Articles