Questions tagged [nsfastenumeration]

The fast enumeration protocol NSFastEnumeration must be adopted and implemented by objects used in conjunction with the for language construct used in conjunction with Cocoa objects.

The fast enumeration protocol NSFastEnumeration must be adopted and implemented by objects used in conjunction with the for language construct used in conjunction with Cocoa objects.

Click Here for class reference.

17 questions
0
votes
1 answer

Custom NSFastEnumeration method?

I Have a container class which stores its data in a dictionary I would like to enumerate the objects and not the keys. right now I have code like this -(NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state…
Avba
  • 14,822
  • 20
  • 92
  • 192
-2
votes
2 answers

Fast enumeration Arrays of Dictionaries

I have an array of dictionaries in following format. myarary = {day = 0; hour = 1; value = 0;},{day = 0; hour = 2; value = 0;}.... {day 6 =1; hour =23; value =1;} So basically 7 days, 24 hours for each day and values 1 or 0 for each hour. hence…
humble_pie
  • 119
  • 10
1
2