In a piano app, I\'m assigning the coordinates of the black keys. Here is the line of code causing the error.
\'blackKey\' and \'whiteKey\' are both customViews
blackKey.center = CGPointMake ( whiteKey.frame.origin.x + whiteKey.frame.size.width, blackKey.center.y);
One way of doing it.