• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Lifecycle for custom NSURLProtocol properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lifecycle for custom NSURLProtocol properties


  • Subject: Lifecycle for custom NSURLProtocol properties
  • From: Allan Odgaard <email@hidden>
  • Date: Tue, 27 Sep 2016 07:42:00 +0200

I am making use of NSURLProtocol’s `setProperty:forKey:inRequest:` but it seems that my custom properties outlive the URL request, and even if I explicitly call `removePropertyForKey:inRequest:` after my request is done, it would appear that my properties are still being retained by something.

I guess this is a bit of a black box, but does anyone have any info/experience with this?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Lifecycle for custom NSURLProtocol properties
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Stupid objective-c question
  • Next by Date: Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
  • Previous by thread: Re: XCode documentation browser
  • Next by thread: Re: Lifecycle for custom NSURLProtocol properties
  • Index(es):
    • Date
    • Thread