Warning: No 'initWithPrimaryKey". method found [closed]
I'm getting the following warning in this statement:
Warning: No 'initWithPrimaryKey". method found
HoldingArray *holdObj=[[HoldingArray alloc] initWithPrimaryKey:n];
Any suggestions are welcome.
The error should be clear: The class HoldingArray
doesn't expose a method initWithPrimaryKey
.
Refer to the source code of the class HoldingArray
or the documentation which methods are available.
精彩评论