I have simple question:
In HypnosisView.h you have declared the xShift and yShift variables like this:
@interface HyponsisView : UIView
float xShift, yShift;
Which as a programmer I understand however when you @synthesize them to automatically make the getters/setters why is the setter called like this in HypnosisViewController.m?:
[hv setXShift:10.0 * [accel x]]; [hv setYShift:10.0 * [accel y]];
Does ObjectiveC automatically capitalize the method? Whats the rule it follows? I.e. variable called float myAwkwardVariable if synthesized would that be setMyAwkwardVariable or something else?