Hi All,
Up to now, I have always imported classes into the header file, but noticed that in Apple's Sketch program, the programmer imports them into the implementation file.
Also, found this on StackOverflow.
Is this a matter of substance or style ?
Or, is this Holy-War territory?
Thanks in advance.
Up to now, I have always imported classes into the header file, but noticed that in Apple's Sketch program, the programmer imports them into the implementation file.
Also, found this on StackOverflow.
Only #import the super class in header files.
#import all classes you send messages to in implementation.
Forward declarations for everything else.
Is this a matter of substance or style ?
Thanks in advance.