Associated Objects in C#

objc_setAssociatedObject makes a friend

Russ Bishop
March 22, 2014

Many people think there is no equivalent of objc_setAssociatedObject in C#, but those people are wrong.

As a quick refresher, Objective-C allows you to add methods to objects via categories (roughly equivalent to extension methods in C#), but there's no way to add new property values directly. Instead, you can use . . .

Read More

   Subscribe by email and never miss a post.

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!