You need to show the .h file of your SingletonSelectedCellIndexes class before we can answer that.
Your .m file does not show an addObject method though, so I bet your .h file doesn't either.
If you want to call a method on a class, you need to declare and implement that method.