Skip to content

Commit

Permalink
Added todo highlighting method siganture change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Mitchell committed Jan 20, 2012
1 parent 8b3b836 commit c9d5cf2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FScriptFramework/FSCollectionInspectorView.m
Expand Up @@ -106,6 +106,9 @@ - (id)initWithFrame:(NSRect)frame
- (IBAction)add:(id)sender
{
FSBlock *defaultBlock = [[interpreter execute:@"#self"] result];

// TODO: as of 10.7 the signature of NSTableColumn initWithIdentifier: has changed to
// - (id)initWithIdentifier:(NSString *)identifier;
NSTableColumn *column = [[[NSTableColumn alloc] initWithIdentifier:defaultBlock] autorelease];
NSInteger newColumnIndex = [tableView numberOfColumns] > 0 && [[[tableView tableColumns] objectAtIndex:0] identifier] == externalColumnIdentifier ? 1 : 0;

Expand Down

0 comments on commit c9d5cf2

Please sign in to comment.