I want to access private property of a class from its category.
But to access private property, I have to redeclare the same private property in category. If I don\'
The best way to solve this is to create ClassA+Private.h and import it in ClassA.m and Category.m. Mind the h at the end, you only need to declare your private properties and methods there, the definition is better kept in ClassA.m.
ClassA+Private.h
ClassA.m
Category.m
h