Jump to content

Another note on Objective-C


G+_James Coleman
 Share

Recommended Posts

Another note on Objective-C. If you want to reference a class in a header file, you can use @class Class, Class2; to just say it exists, then import the header file in the actual code. The reason you do not want to import the header file in the header file is you can cause issues for other classes which import that header file.

Link to comment
Share on other sites

 Share

×
×
  • Create New...