Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SimonKravis

macrumors newbie
Original poster
May 5, 2021
1
0
Australia
I am modifying an Objective C application which displays members of set of images shown in an NSTableView control which obtains data from an ArrayController. I would like to replace one of the images in the array control. I have tried to do this by first removing the item, using the RemoveObject method and then adding the replacement at the original image location using the method
Code:
 - (void)insertObject:(id)object atArrangedObjectIndex:(NSUInteger)index;
. However, when I do this I get the error
addObserver:forKeyPath:eek:ptions:context:] is not supported.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.