• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iPad Programming Tutorial
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iPad Programming Tutorial
      • From: "email@hidden" <email@hidden>
    • Re: iPad Programming Tutorial
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: Can't set a cursor on a programmatically created window
  • Next by Date: Re: iPad Programming Tutorial
  • Previous by thread: Not use of push-bottom method
  • Next by thread: Re: iPad Programming Tutorial
  • Index(es):
    • Date
    • Thread