Just wondering, it seems like it works pretty well but I want to make sure I am using generally accepted coding practices and not get into bad habits.
Thanks,
Nick
Just wondering, it seems like it works pretty well but I want to make sure I am using generally accepted coding practices and not get into bad habits.
Thanks,
Nick
Yes, it's good form. It was introduced as the preferred style of enumeration in Objective-C 2.0, in fact. Use it wherever possible.
Fast enumeration is a recent addition to the language, so don't be concerned that you're not seeing it much in other people's code. It takes a while for people to adopt new habits.