Changeset 5124

Show
Ignore:
Timestamp:
12/13/07 15:05:21 (7 months ago)
Author:
morris
Message:

Add -unsignedIntegerValue

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredAdditions/trunk/NSString-WIAdditions.h

    r4960 r5124  
    4343- (unsigned long long)unsignedLongLongValue; 
    4444- (unsigned int)unsignedIntValue; 
     45- (NSUInteger)unsignedIntegerValue; 
    4546 
    4647- (BOOL)containsSubstring:(NSString *)string; 
  • WiredAdditions/trunk/NSString-WIAdditions.m

    r5102 r5124  
    105105- (unsigned int)unsignedIntValue { 
    106106        return (unsigned int) [self intValue]; 
     107} 
     108 
     109 
     110 
     111- (NSUInteger)unsignedIntegerValue { 
     112        return (NSUInteger) [self integerValue]; 
    107113} 
    108114