• 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
Questions about UIView from nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Questions about UIView from nib


  • Subject: Questions about UIView from nib
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Wed, 23 Dec 2009 11:06:13 -0500

If I have a XIB that I laid out my UI with in IB, and I call that view up as
a subview in my main view:

NSArray *nibViews = [[NSBundle mainBundle] loadNibNamed:@"Settings"
owner:self options:nil];

*[self.view addSubview:[nibViews objectAtIndex:0]];*

*
*

*What is the best way to associate a class with the XIB - in IB in the info
panel where I can assign a class? *

Do I need to import the class into my main view, or by loading up subview
the methods are now in that object?


Noob questions, I know.
_______________________________________________

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

  • Prev by Date: Cocoa bindings and Core Data
  • Next by Date: Instance method from IB
  • Previous by thread: Cocoa bindings and Core Data
  • Next by thread: Instance method from IB
  • Index(es):
    • Date
    • Thread