error build: Multiple methods named 'initWithLocation:' found with mismatched result, parameter type or attributes

Viewed 7

I have this error:

error build: Multiple methods named 'initWithLocation:' found with mismatched result, parameter type or attributes

In this sentence:

ITVertexDrawable *vertexCopy = [[[self class] allocWithZone:zone] initWithLocation:self.location];

Where is the problem?

Many thanks.

0 Answers
Related