0

NSURLRequest +requestWithURL:cachePolicy:timeoutInterval: has a cache policy.

The documentation in XCode5 lists an enum with four constants and immediately below lists seven different constants. The documentation is inconsistant. Which options work, and which ones should I use?

Paul Heller
  • 1,161
  • 12
  • 11

1 Answers1

0

NRURLRequest.h has the seven constants documented, and two of those are marked as not implemented (no mention of that in the documentation by the way).

So if you want to use NSURLRequestCachePolicy, check the header file for accurate documentation.

Paul Heller
  • 1,161
  • 12
  • 11