ok, I have an NSTableView built in IB, but i want to add the columns as needed in code. The init function the have listed is initWithIdentifier, but it gives me a warning that indicates to me that it isn't working right (i think).
this is the line in question
NSTableColumn *aColumn = [[NSTableColumn alloc] initWithIndentifier:aString];
the warning says,
warning: return type for 'initWithIdentifier:' defaults to id
i get this error even when i change the line to read
id aColumn = [[NSTableColumn alloc] initWithIndentifier:aString];
anyone know what i am doing wrong?
this is the line in question
NSTableColumn *aColumn = [[NSTableColumn alloc] initWithIndentifier:aString];
the warning says,
warning: return type for 'initWithIdentifier:' defaults to id
i get this error even when i change the line to read
id aColumn = [[NSTableColumn alloc] initWithIndentifier:aString];
anyone know what i am doing wrong?