Skip to content

Project demonstrates how to add a property to an instance of the class using categories.

Notifications You must be signed in to change notification settings

glebus/AddingPropertyWithCategorySample

Repository files navigation

AddingPropertyWithCategorySample

Project demonstrates how to add a property to an instance of the class using categories.

Officially, categories were created to extend existing classes with new methods. But sometimes there is a need to add to the expanding class of new property. To implement this trick, we need methods runtime. In order to see how it's done enough to see here.

About

Project demonstrates how to add a property to an instance of the class using categories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published