Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 615 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 615 Bytes

BRYHashCodeBuilder

Utility for determining object hash codes, based on Apache Commons HashCodeBuilder.

- (NSUInteger)hash {
    return [[[[[BRYHashCodeBuilder builderWithInitialValue:17 multiplier:37]
               appendObject:self.name]
              appendBool:self.isHidden]
             appendFloat:self.width]
            appendInteger:self.index].hashCode;
}

License

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