NSTableView as an Outlet
NSTableView as an Outlet
- Subject: NSTableView as an Outlet
- From: email@hidden
- Date: Tue, 5 Jun 2001 17:16:27 -0700
I saw an example of NSTableView where the NSTableView is the dataSource,
but how can I use it as an outlet.
Lets say I have a project with an NSTableView object that is an outlet
under the name "tableView"
How do I change the number of rows? Can I do it in a statement like
[tableView numberOfRowsInTableView:10] or do I need to put it into a
function? If so how and what do the parts of that mean?
I don't really understand the (NSTableView *)tableView syntax in the
apple documentation because the most I ever programmed with Cocoa was a
2 player Tic Tac Toe application (which I think is pretty cool...
required much less code than Visual Basic)
Thanks,
Sam