I've got a function called updateTheValue()
that I have called using [self updateTheValue]
for a while now. Two things happened recently; I added the method calling in the viewDidLoad()
method and it spit out a warning saying my class may not respond to this. Second, I want to pass objects to updateTheValue()
like strings, but mostly ints, so I declared an NSObject to pass into the method. Can an int fit into an NSObject slot, or what should I use instead?
I would have posted these seperately but they seem to be related since after updating updateTheValue()
to accept an NSObject every reference to this function turns out the error that my class "May not respond to -updateTheValue"