In order for @properties to work correctly The category has to be a subclass of object. when the class will not be a subclass of object then the first time you are attempting obtain the setter it truly makes a different attribute With all the shorter name in place of https://affordablehomesinbhiwadi.blogspot.com