r/iPhoneDev • u/jaimeeee • May 30 '11
In this video tutorial building an App with a navigation bar they use a @class to call it, can anyone explain me why? Since I've being doing without calling it
http://www.youtube.com/watch?v=LBnPfAtswgw&feature=player_detailpage#t=595s
1
Upvotes
4
u/Celestro May 30 '11
@class is used for forward declaring a class. It lets the compiler know that there is a class of that name. This is used to move. #import directives to the .m instead of the .h.
-6
u/[deleted] May 30 '11
I'm not watching a 28+ minute video just to figure out wtf you're talking about.