Skip to content

Instantly share code, notes, and snippets.

@rcaetano
Created February 24, 2010 18:27
Show Gist options
  • Save rcaetano/313692 to your computer and use it in GitHub Desktop.
Save rcaetano/313692 to your computer and use it in GitHub Desktop.
UITextView * nameView = [[UITextView alloc] initWithFrame:CGRectMake(0, 200, 350, 50)];
nameView.text = @"hello world, overwrite me";
nameView.transform = CGAffineTransformMakeRotation( CC_DEGREES_TO_RADIANS( 90.0f ) );
nameView.delegate = self;
[nameView setReturnKeyType:UIReturnKeyDone];
[[[CCDirector sharedDirector] openGLView] addSubview:nameView];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment