CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Javier Querol.
Click play to watch the video
To run the example project, clone the repo, and run pod install
from the Example directory first.
Don't use the simulator, always use a device, as it uses a lot of GPU, performance is really bad on simulator
@interface JAQViewController () <JAQDiceProtocol>
@property (nonatomic, weak) IBOutlet JAQDiceView *playground;
@end
@implementation JAQViewController
- (void)diceView:(JAQDiceView *)view rolledWithFirstValue:(NSInteger)firstValue secondValue:(NSInteger)secondValue {
NSLog(@"%li",firstValue+secondValue);
}
- (IBAction)rollDice:(id)sender {
[self.playground rollTheDice:sender];
}
@end
iOS 8 (SceneKit works on >=iOS8)
Feel free to contribute
Javier Querol
JAQDiceView is available under the MIT license. See the LICENSE file for more info.