Hi Richard,

On 11/17/19 4:53 PM, Richard Frith-Macdonald wrote:
Because NSMutable array is an abstract class.  You need to create a concrete 
class with actual instance variables to store data in.
In your case you overrode the superclass implementation, but did do by calling 
the superclass implementation ... which is abstract and can't do anything.  You 
have to override the implementation in a way that actually adds the object to a 
storage area.


Than you for the tip. I also had to override "init" in the same fashion you suggested. In layman terms, if you subclass something abstract, there is actually nothing, so there is no storage and you have to "wrap" it yourself and instead of using "super" use the content.


Riccardo


Reply via email to