• 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 is not updated.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView is not updated.


  • Subject: NSTableView is not updated.
  • From: 박지완 <email@hidden>
  • Date: Thu, 12 Jul 2007 11:36:47 +0900
  • Importance: normal

Hi all,

I have a NSTableView, and it has 'datafield.m' for dataSource and delegate.
(TableView's dataSource outlet is connected 'datafield.m' and TableView's delegate outlet is connected 'datafield.m')
In dataSource, using 'data.plist' by 'objectValueForTableColumn' and 'numberOfRownInTableView'.

Now,
when 'data.plist' is changed, NSTableView must be updated.
But... it isn't.

I think,
after 'data.plist' is changed,
NSTableView has to call 'numberOfRownInTableView' before 'objectValueForTableColumn'.
(Because, the number of callings 'objectValueForTableColumn' is decided by 'numberOfRownInTableView'.)
But my NSTableView calls 'numberOfRownInTableView' after 'numberOfRownInTableView' ...

Is it right?....
And,
What can I do for NSTableView updating?
How can I do for calling 'numberOfRownInTableView' first?...

Please help me.
Thank you.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTableView is not updated.
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: calls to principalClass causing freeze -- I'm stumped
  • Next by Date: using appendBezierPathWithPoints
  • Previous by thread: Re: calls to principalClass causing freeze -- I'm stumped
  • Next by thread: Re: NSTableView is not updated.
  • Index(es):
    • Date
    • Thread