Finding the Average Value of a column on a Core Data Entity
I’ve been having trouble the past few days finding the solution to this question. It was in the Core Data documentation, but considering how vast it was, I hoped that a simple Google query would have provided my answer. Here’s the original question over at Stack Overflow, and here’s a snippet of code I used to succesfully get the average value of a column on one of Core Data entities.