How to implement like JAVA ‘Protect’ function in Object-C?I wanna access father class method in subclass,but i don`t konw how to implement it use Ojbect-C.
How to implement like JAVA ‘Protect’ function in Object-C?I wanna access father class method
Share
You have the answer of your question here:
What is the Objective-C equivalent of a public get/protected set property in C#
Or here:
Objective-C – Private vs Protected vs Public
I hope it helps!