• 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: NSTableView and DataSource problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView and DataSource problem


  • Subject: Re: NSTableView and DataSource problem
  • From: Andy Lee <email@hidden>
  • Date: Fri, 06 Feb 2009 10:24:44 -0500

Can you show some code, in particular for your data source methods?

Are you calling reloadData in any of your data source methods by any chance?

--Andy

On Feb 6, 2009, at 10:10 AM, Valentin Dan wrote:

Hi,



I'm having difficulties changing the data in the data source for the
table view.



The table view keeps updating like crazy and sometimes it crashes my
app; or at least I think that's what crashes it.



Anyway, what's the proper method for updating the data for the list ? I
need to change all the data.




Currently I'm setting the tableView's data source to "nil", I'm
releasing the old dataSource, creating a new one (with the new items)
then setting a the table's dataSource to the new one... is that close ?
:-)




Thanks!

_______________________________________________________________________

Valentin Dan, Software Engineer Direct: +1 905 886 1833
ext.3047


Email: email@hidden Office: +40 356-710158

Masstech Group Inc. Fax: +40 256-220912

http://www.masstechgroup.com <http://www.masstechgroup.com/>



THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN
PRIVILEGED OR CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE IS
STRICTLY PROHIBITED.IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE
NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT THE RECORDS. PLEASE THEN
DELETE THE ORIGINAL MESSAGE. 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

_______________________________________________

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 and DataSource problem
      • From: "Valentin Dan" <email@hidden>
References: 
 >NSTableView and DataSource problem (From: "Valentin Dan" <email@hidden>)

  • Prev by Date: Re: NSTableView and DataSource problem
  • Next by Date: Re: Relaunching App Programmatically - Terminal Window Shows up
  • Previous by thread: RE: NSTableView and DataSource problem
  • Next by thread: RE: NSTableView and DataSource problem
  • Index(es):
    • Date
    • Thread