Register and share your invite link to earn from video plays and referrals.

Paul Hudson
@twostraws
Learning and sharing at Hacking with Swift. Creator of Kickstart, Unwrap, Ignite, and two small children.
Joined July 2009
272 Following    123.1K Followers
If you only need a count, don't fetch all the objects just to call .count on the result. fetchCount() does the work entirely in the database and is dramatically faster.