Show
Ignore:
Timestamp:
06/03/09 19:42:54 (14 months ago)
Author:
tsnorri
Message:

Changed NSAsserts to BXAsserts

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/BaseTenAssistant/Sources/MKCPolishedHeaderView.m

    r1006 r1301  
    3131#import "MKCPolishedHeaderCell.h" 
    3232#import <BaseTen/BXEnumerate.h> 
     33#import <BaseTen/BXLogger.h> 
    3334 
    3435NSString* kMKCEnabledColoursKey          = @"kMKCEnabledColoursKey"; 
     
    282283{ 
    283284    NSRect rect = [super headerRectOfColumn: columnIndex]; 
    284     NSAssert (rect.size.height == [self frame].size.height, @"Expected heights to match."); 
     285    BXAssertLog (rect.size.height == [self frame].size.height, @"Expected heights to match."); 
    285286    return rect; 
    286287} 
     
    297298     
    298299    float height = [self bounds].size.height; 
    299     NSAssert (height >= 3.0, @"This view may not be shorter than 3.0 units."); 
     300    BXAssertVoidReturn (height >= 3.0, @"This view may not be shorter than 3.0 units."); 
    300301     
    301302        NSDictionary* enabledColours = nil;