Permalink
Browse files

Added todo highlighting method siganture change.

  • Loading branch information...
1 parent 8b3b836 commit c9d5cf2c4d6d8e5432edad0cf86c2734c4c08b7a @mugginsoft committed Jan 20, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 FScriptFramework/FSCollectionInspectorView.m
@@ -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;

0 comments on commit c9d5cf2

Please sign in to comment.