To ensure that @properties to work adequately The category has to be a subclass of item. when the class just isn't a subclass of item then The 1st time you are trying entry the setter it in fact will make a fresh attribute with the shorter name as an alternative https://villassprroad.blogspot.com/