• 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
Re: Windows, NSTableView and newie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows, NSTableView and newie question


  • Subject: Re: Windows, NSTableView and newie question
  • From: Brian Webster <email@hidden>
  • Date: Tue, 22 Jan 2002 12:12:09 -0600

On Tuesday, January 22, 2002, at 11:29 AM, cocoa-dev-
email@hidden wrote:

Hello, I'm a little new to this. I'm doing a java cocoa simple
application that have in the initial window a table view.
I make the datasource for the table and a button in the window that when
I press it I load the data in the table for display.
I want to show the data automatically when the initial window displays
(at program startup) and I don't know how to do that.

If you want to do anything to initialize your interface after it loads, implement the method awakeFromNib() in the appropriate object, your data source in this case. From there you can then call your method that loads the data for the table.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster


  • Prev by Date: Re: What's up with NSTableView?
  • Next by Date: [OT] UUIDs and privacy (was Re: Apple Serial Number: Redux)
  • Previous by thread: Windows, NSTableView and newie question
  • Next by thread: Re: Windows, NSTableView and newie question
  • Index(es):
    • Date
    • Thread