#import "BBSearchObjectView.h" @implementation BBSearchObjectView + (Class)cellClass { return [BBObjectCell class]; } @end @implementation BBCollectingSearchObjectView + (Class)cellClass { return [BBObjectCell class]; } - (void)drawRect:(NSRect)rect { NSRect frame = [self frame]; NSInteger count = [collection count]; if (![self currentEditor] && count) { frame.origin = NSZeroPoint; [[self cell] drawWithFrame:frame inView:self]; NSInteger i; CGFloat iconSize = collectionSpace?collectionSpace:16; CGFloat opacity = collecting?1.0:0.75; QSObject *object; CGFloat totalWidth = iconSize + 2; for (i = 0; i