• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTableView as an Outlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Re: NSTableView as an Outlet
      • From: Sam Goldman <email@hidden>
    • Re: NSTableView as an Outlet
      • From: Michael Rogers <email@hidden>
    • Re: NSTableView as an Outlet
      • From: Erik Thorteran <email@hidden>
  • Prev by Date: Re: C++ framework <-> Cocoa
  • Next by Date: Re: int question
  • Previous by thread: Re: Cocoa threading, objects by reference, and the keyword "oneway"
  • Next by thread: Re: NSTableView as an Outlet
  • Index(es):
    • Date
    • Thread