Closed WarpRulez closed 8 years ago
In the [BMGlyphLabel labelWithText:font:] method, rather than
return [[BMGlyphLabel alloc] initWithText:text font:font];
it should be:
return [[self alloc] initWithText:text font:font];
Else if instantiating a derived class using that method, it will return the wrong kind of class.
thanks, it is fixed
In the [BMGlyphLabel labelWithText:font:] method, rather than
return [[BMGlyphLabel alloc] initWithText:text font:font];
it should be:
return [[self alloc] initWithText:text font:font];
Else if instantiating a derived class using that method, it will return the wrong kind of class.