BRYEqualsBuilder 1.0.0

BRYEqualsBuilder 1.0.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Bryan Irace.



  • By
  • Bryan Irace

Utility for determining object equality, based on Apache Commons EqualsBuilder.

- (BOOL)isEqual:(id)object {
    return [[[[[BRYEqualsBuilder builderComparingObject:self withObject:object]
               appendObject:self.name otherObject:other.name]
              appendBool:self.isHidden otherBool:other.isHidden]
             appendFloat:self.width otherFloat:other.width]
            appendInteger:self.index otherInteger:other.index].isEqual;
}

License

Available for use under the MIT license: http://bryan.mit-license.org