1 parent 8b3b836 commit c9d5cf2Copy full SHA for c9d5cf2
1 file changed
FScriptFramework/FSCollectionInspectorView.m
@@ -106,6 +106,9 @@ - (id)initWithFrame:(NSRect)frame
106
- (IBAction)add:(id)sender
107
{
108
FSBlock *defaultBlock = [[interpreter execute:@"#self"] result];
109
+
110
+ // TODO: as of 10.7 the signature of NSTableColumn initWithIdentifier: has changed to
111
+ // - (id)initWithIdentifier:(NSString *)identifier;
112
NSTableColumn *column = [[[NSTableColumn alloc] initWithIdentifier:defaultBlock] autorelease];
113
NSInteger newColumnIndex = [tableView numberOfColumns] > 0 && [[[tableView tableColumns] objectAtIndex:0] identifier] == externalColumnIdentifier ? 1 : 0;
114
0 commit comments