• 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: A little doubt about NSTableView.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A little doubt about NSTableView.


  • Subject: Re: A little doubt about NSTableView.
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 15 Dec 2003 09:51:39 +0100

On lundi, dicembre 15, 2003, at 09:37 AM, Roberto wrote:

[...]But if I just insert the code in the right function, it doesn't insert
values into NSTableView, like:

- (void) addComic: (id) sender
{
[comicsArray addObject:@"fdsafdf"]; //If I insert here the code,
NSTableView doesn't show values!
}

Why??


I know that NSTableView is the most complicated Object of Cocoa, that
for understand it I should read all the topics and Tutorials of Cocoa
Programming, but I've done all the possible to understand NSTableView,
but I can't.

NSTableView is pretty easy compared to NSOutlineView or NSBrowser.

Anyway, just add

[myTableView reloadData]; at the end of addComic:
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >A little doubt about NSTableView. (From: Roberto <email@hidden>)

  • Prev by Date: Re: Providing bindings support
  • Next by Date: Re: Intercepting JavaScript calls in WebViews
  • Previous by thread: A little doubt about NSTableView.
  • Next by thread: Compare NSNumber with an int
  • Index(es):
    • Date
    • Thread