This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / 有没有xcode programmer啊?
-rathburnrd(RATHBURN);
2007-5-17
(#3682231@0)
-
link里的例程NSSlider怎么和setRotation connect的?
-rathburnrd(RATHBURN);
2007-5-17
(#3682258@0)
-
^In fact, i found in definition it is:
...
{
float rotation;
}
- (void) setRotation:(float) r;
- (float) rotation;
...
And in Inteface Builder it bind the NSSlider to rotation
Usually in order to connect NSSlider and setRotation, I set
-(IBAction) setRotation:(float) r; and then connect NSSlider and setRotation in Inteface Builder
But in this sample, it does not do like this usual way. I think they configure something in Inteface Builder, but i dont know how.
-ca2000(ca2000);
2007-5-18
{480}
(#3683982@0)