• 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 update issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView update issue


  • Subject: NSTableView update issue
  • From: Peter Hudson <email@hidden>
  • Date: Sat, 26 Sep 2015 11:13:46 +0100

I have an NSTableView in my app which has started to behave differently on 10.10.

I periodically change the datasource and delegate to the table view ( which is on screen )
This has worked perfectly up until recently.


After having changed the datasource/delegate to the table view, I confirm that the table view is aware of the change - by use of  delegate and dataSource methods.  The result from this indicates that the table view has had its datasource and delegate updated as I intended.

I then reloadData and display the table view.  Results are as expected.

A short period after, the app will crash. Zombies tells me that the table view is accessing the previously set datasource for data - not the one that I have just installed ( and confirmed as being the data source ).


Any suggestions gratefully recieved.

Peter




_______________________________________________

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 update issue
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: using constants from Obj-c in swift
  • Next by Date: Re: NSTableView update issue
  • Previous by thread: Re: using constants from Obj-c in swift
  • Next by thread: Re: NSTableView update issue
  • Index(es):
    • Date
    • Thread