Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 767d74cdad
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.471 kb
//
// NSOutlineViewExit.m
// GitX
//
// Created by Pieter de Bie on 9/9/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import "NSOutlineViewExt.h"
@implementation NSOutlineView (PBExpandParents)
- (void)PBExpandItem:(id)item expandParents:(BOOL)expand
{
NSMutableArray *parents = [NSMutableArray array];
while (item) {
[parents insertObject:item atIndex:0];
item = [item parent];
}
for (id p in parents)
[self expandItem:p];
}
@end
Jump to Line
Something went wrong with that request. Please try again.