> On Oct 17, 2017, at 5:06 PM, dangerwillrobinsondan...@gmail.com wrote: > > Isn’t NSHTTPURLResponse a subclass of NSURLResponse?
Yes it is, but calling `((NSHTTPURLResponse*)response).statusCode` will still throw an exception if the response isn’t actually an instance of the subclass, because the base class doesn’t implement that property. —Jens _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com This email sent to arch...@mail-archive.com