0
我有這個屬性上一個單身聲明:預期標識符?什麼?
@property (nonatomic, copy) void (^onUpdate)();
開始對一類單後,我有這些行:
[self.singleton.onUpdate = ^{
CGAffineTransform rot = CGAffineTransformMakeRotation(degreesToRadian(angle));
[UIView animateWithDuration:0.1 animations:^{
myself.object.transform = rot;
}];
}];
我對這個最後一行的「預期標識符」錯誤。 .. 什麼?
有什麼想法?
ahhh!你是對的!!!!!!!!!謝謝。錯過了。 – SpaceDog 2013-04-06 09:53:49