GitXplorerGitXplorer
j

singleViewGLKitCube

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
9a0e68c951239a12035870334d662cbe22183b2f

works... but not sure why.

jjrwren committed 13 years ago
Unverified
90004e2fa7949897dd9e15455ee167bddb0f2560

in middle of converting to GKLViewController

jjrwren committed 13 years ago
Unverified
70705fa1c471084438c15524eca082aaaf1e584f

hurray! i figured out my stupid.

jjrwren committed 13 years ago
Unverified
2f423851b179eefc500ceda724dd4e86248628e9

add readme

jjrwren committed 13 years ago
Unverified
750abb4b27c1118a71ffc5f51407498421163a7a

silly

jjrwren committed 13 years ago
Unverified
937c9668cce7b07be4f8ea257add752868c45556

Initial Commit

jjrwren committed 13 years ago

README

The README file for this repository.

This is just a test

  • ViewController.m has all the goods

the goods look like this:

@interface Delegate : NSObject { void (^_callback)(id sender); id _sender; } -(void)invoke; @end

@implementation Delegate -(Delegate*)initWithCallback:(void(^)(id sender)) callback andSender:sender { if (self = [super init]) { _callback = callback; _sender = sender; } return self; } -(void)invoke { _callback(_sender); } @end

@interface UIButton (stuff) { }

  • (void)addTarget:(void (^)(id sender))block forControlEvents:(UIControlEvents)controlEvents; @end @implementation UIButton (stuff)

  • (void)addTarget:(void (^)(id))block forControlEvents:(UIControlEvents)controlEvents { Delegate *del = [[Delegate alloc] initWithCallback:block andSender:self]; [self addTarget:del action:@selector(invoke) forControlEvents:controlEvents]; } @end