small medium large xlarge

13 Dec 2009, 20:21
Massimiliano Giroldi (4 posts)

pp 173: ‘If you search in the Xcode reference library for “NSTableViewDataSource,”…’

I am using Xcode Version 3.1.4 and I can find only a NSTableDataSource.

NSTableViewDataSource replaces NSTableDataSource in Mac OS X v10.6 and later, right?


15 Dec 2009, 10:32
Tim Isted (105 posts)

Hi Massimiliano, Yes, NSTableDataSource is replaced by NSTableViewDataSource under Mac OS X 10.6 Snow Leopard. One method, used in Chapter 13: reloadDataForRowIndexes:columnIndexes: is not available using NSTableDataSource, so you’ll experience strange behavior if you use it. For now, don’t make the changes specified in the book to use this method, just leave the reloadData line instead. Thanks, Tim

You must be logged in to comment