Associated Objects on Value Types
Greg Parker notes that one should not use objc_setAssociatedObject() to attach associated objects to immutable value-like types such as NSNumber, NSDate, and NSString. The reason is that, due to de-duplication and tagged pointers, the objects may be shared and/or immortal.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed