Top "Associated-object" questions

How to have stored properties in Swift, the same way I had on Objective-C?

I am switching an application from Objective-C to Swift, which I have a couple of categories with stored properties, for …

ios swift associated-object
Is there a way to set associated objects in Swift?

Coming from Objective-C you can call function objc_setAssociatedObject between 2 objects to have them maintain a reference, which can be …

swift objective-c associated-object
Cakephp 3.0 Save associated model

I am learning cakePHP 3.0 and have some problem with saving associated data on my model. I try to save a …

cakephp save model-associations cakephp-3.0 associated-object
Avoid extra static variables for associated objects keys

When using associated objects, an Objective-C runtime feature available starting from iOS 4 and OSX 10.6, it's necessary to define a key …

objective-c objective-c-runtime associated-object
Swift - Associated value or extension for an Enum

General question regarding swift enum. I want to create an enum of "icon" and "associate" a value to the enum …

swift enums associated-object associated-types computed-values