Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is fast enumeration considered bad form or is it generally accepted?

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

like image 779
nickthedude Avatar asked Jan 22 '23 19:01

nickthedude


1 Answers

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.

like image 91
John Calsbeek Avatar answered Jan 25 '23 08:01

John Calsbeek