Instance Method

browser:isColumnValid:

Returns whether the contents of the specified column are valid.

Declaration

- (BOOL)browser:(NSBrowser *)sender isColumnValid:(NSInteger)column;

Parameters

sender

The browser containing the column to validate.

column

The index of the column to validate.

Return Value

YES if the column’s contents are valid; otherwise, NO. If NO is returned, sender reloads the column.

Discussion

This method is invoked in response to the validateVisibleColumnsmethod of NSBrowser being sent to sender.

See Also

Getting Browser Information

- browser:numberOfRowsInColumn:

Returns the number of rows of data in the specified column.

- browser:numberOfChildrenOfItem:

Asks the delegate for the number of children the given item has.

- browser:titleOfColumn:

Asks the delegate for the title to display above the specified column.