Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.glorb.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail NNTP-Posting-Date: Fri, 29 Apr 2011 10:35:42 -0500 From: LPT Newsgroups: comp.sys.mac.programmer.help Mail-Copies-To: nobody Subject: NSArrayController removes fails, sort of User-Agent: MT-NewsWatcher/3.5.3b2 (Intel Mac OS X) Date: Fri, 29 Apr 2011 10:33:38 -0500 Message-ID: Lines: 17 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 64.81.149.178 X-Trace: sv3-kiJth936mLDuVHwYwC/c9Dohnd6mfYR9YLiwhz1KhJYjpKYF6wK6oaxgUKZtK1RiE+rydQY59ELkiC+!KIGADRLsyVqJM9P4pnxs8B9Pnk4LRxdt7UFHz2zNi6ompMdLBbIhLAC/hEQ3lwThUlYFrxObAeho!QlC8z3H3mk520D4f+Vli3KDXGO4twTFL X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1858 Xref: x330-a1.tempe.blueboxinc.net comp.sys.mac.programmer.help:20 I have an NSTableView column bound to an NSArrayController which itself is bound to an NSMutableArray. The data is displayed as expected, but when I remove an item, although it does disappear from the table, the change is not written to disk when the application quits. I use NSKeyedArchiver to persist the array to disk upon quitting. When the application quits, the original array including the removed items is written to disk. I did some debugging and found that after the items are removed from the array controller, the underlying array does indeed reflect the removal, but something happens between there and quitting the application that brings the removed items back into the array. My application also uses an NSPopupButton to display these same items. It is also bound to the same array controller as the table view column. I suspect that this is somehow a problem, but can someone enlighten me? TIA