iPad Programming Tutorial
iPad Programming Tutorial
- Subject: iPad Programming Tutorial
- From: ML <email@hidden>
- Date: Sun, 25 Apr 2010 19:01:49 -0700 (PDT)
Hi All,
Does anyone know of a resource that helps understand how to NOT use interface builder for developing applications?
I am trying to create a iPad SplitView application and I dont quite understand if I want to put code to create additional interface elements in: - (void)configureView or - (void)viewDidLoad
Say I wanted to add a UITextView and display it.
Wouldn't I do something like:
CGRect bounds = [[UIScreen mainScreen] applicationFrame];
UITextView *theTextView = [[UITextView alloc] initWithFrame:bounds];
[theTextView setContentView:theTextView];
[theTextView makeKeyAndOrderFront:nil];
[theTextView makeFirstResponder:theTextView];
[theTextView show];
But I dont know if it displays, I was thinking that maybe this is something to do with that fact the project uses Interface Builder and I dont want to.
-ML
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden