I\'m sure I\'m doing something silly, but this is driving me crazy.
I\'m trying to loop through database results, create objects from those results, and add the obje
Another common cause (not in your case, as it turns out, but generally) is forgetting to even allocate the array. If you haven't created an array yet, you're sending that count message to nil, so the result will always be 0.
count
nil