Social drawing for iOS devices.
DoodleKit manages up to four users' drawings on a single canvas, allowing doodlers to create and share content across their devices.
A demo app, Doodle Party, is included in the repository.
Developed with care and exhaustion at iOSDevCamp 2013.
Follow us on Twitter.
pod 'DoodleKit', git https://github.com/crowdcompass.com/DoodleKit.git
#import <DoodleKit/DoodleKit.h>
DKDoodleView *doodleView = [[DKDoodleView alloc] initWithFrame:theFrame]; doodleView.delegate = self; [parentView addSubview:doodleView];
doodleView.toolType = DKDoodleToolTypePen; doodleView.lineWidth = 6.0f; doodleView.lineColor = [UIColor greenColor];
DKDoodleSessionManager
DKDoodleSessionManager *sessionManager = [DKDoodleSessionManager sharedManager];
[sessionManager startAuthenticatingLocalPlayer];
DKDoodleSessionManager
delegate protocol, in order to display connectivity status. This is optional.didStartGame
protocol method. This will launch a ViewController that has a DKDoodleView on the view. The view will automatically render drawing on all connected devices.