Programming, Swift, Object Oriented, Objective C.
readonly) int width; @property (nonatomic, readonly) int height; @end In C we use forward declaration for data structure and function in header file and implement them in .c file. // Canvas.h typedef struct Canvas * CanvasRef; extern int CanvasGetWidth(CanvasRef canvas); extern int