objective c - What is proper format for header files? -
i'm new ios , object oriented programming. how should use format of header files me? have attached blank header file of class newclass sub class of uiview controller.
#import <uikit/uikit.h> @interface newclass : uiviewcontroller @end
what know do things? declare variables , types of variables? declare methods? there difference of put private or public variables? instance variables? importing other things? how format me , other readers?
#import <uikit/uikit.h> @interface newclass(class name) : uiviewcontroller (type) { variables } methods @end
private methods , variables should go in implementation file
Comments
Post a Comment