diff --git a/docs/Categories.html b/docs/Categories.html index 7d517564d..6222793d9 100644 --- a/docs/Categories.html +++ b/docs/Categories.html @@ -31,7 +31,10 @@ Categories @@ -203,9 +206,9 @@

Categories

  • - - - NSObject(IGListDiffable) + + + NSNumber(IGListDiffable)
    @@ -213,21 +216,45 @@

    Categories

    -

    This category adds diffing comparisons similar to adding the object into an NSSet, -where the object’s -isEqual: method drives the uniqueness of the object.

    +

    This category provides default IGListDiffable conformance for NSNumber.

    -

    For instance, an NSString’s -isEqual: will compare the value of the strings. -So if you were to diff @"cat" and @"cat" each object would have the same diff identifier.

    +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @interface NSNumber (IGListDiffable)
    -

    However objects that don’t implement a custom -isEqual: (e.g. the NSObject base class), the diff will default to simple -pointer comparisons to establish uniqueness.

    +
    +
    +
    +
    +
  • + + +
    +