Jump to content

No Class variables [resolved]


  • This topic is locked This topic is locked
No replies to this topic

#1
Nightfly19

Nightfly19

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Since it seems that class level variables don't exist in Objective-C (correct me if I'm wrong), and it appears that the most common work around is using static variables declared in the header files of a class; What is the most accepted naming conventions to prevent conflicting variables between classes? Is there a better way to achieve the same effect as class level variables?

Update:
I was putting them in the static variables in the wrong place, situation resolved.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy