To make a method as private,you need to add a local category or unnamed category or class extension in the class and add the method in the category and define it in the 'class.m'.