Created
February 24, 2010 18:27
-
-
Save rcaetano/313692 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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