Jump to content
1 post in this topic

Recommended 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.

Link to comment
https://www.insanelymac.com/forum/topic/174429-no-class-variables-resolved/
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...