Inability to create my CIFilter classes from string

After creating this question myself about the inability to create my own UIImageView classes by name I am facing a similar problem, this time for CIFilter subclasses that are not solved by the accepted answer on the other question.

Said that, this is the problem.

I am creating subclasses of

CIFilter

class, something like

MyEffectFilter1

,

MyEffectFilter1

, etc.

These subclasses have this convenience method for the creation of specific images:

In this case, the subclass constructor is trying to call the inherited class's convenience constructor (in contrast with the previous question, which was calling the inherited init).

Change your constructor to do the analogous thing, calling alloc on self. It doesn't look like CIFilter provides any public initWith... methods, but a property such as name can be set easily enough by calling the new instance directly...