Questions about UIView from nib
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