michaelarmstrong / SuperRecord

A small set of utilities to make working with CoreData and Swift a bit easier.
MIT License
366 stars 27 forks source link

Remove duplicated countWithPredicate #7

Closed PGLongo closed 9 years ago

PGLongo commented 9 years ago

Removed countWithPredicate because is duplicated of:

    /**
    Count all the entity matching the input predicate

    :param: context the NSManagedObjectContext. Default value is SuperCoreDataStack.defaultStack.managedObjectContext

    :param: predicate

    :param: error

    :returns: Int of total result set count.
    */
    class func count(context: NSManagedObjectContext = SuperCoreDataStack.defaultStack.managedObjectContext!, predicate : NSPredicate?, error: NSErrorPointer) -> Int