Hi All -
I was wondering if there is any way to create a UIView from a XIB file? I'd like to set up my UIView in IB and then do something like:
I know UIViewController has the above method, but it does not look like UIView has this method. Is there no way to create a UIView from a XIB file? Am I trying to do something here that shouldn't/can't be done?
If this is not the correct way, any suggestions?
Thanks.
I was wondering if there is any way to create a UIView from a XIB file? I'd like to set up my UIView in IB and then do something like:
Code:
UIView *myView = [[UIView alloc] initWithNibName:@"myNib.xib" bundle:nil];
I know UIViewController has the above method, but it does not look like UIView has this method. Is there no way to create a UIView from a XIB file? Am I trying to do something here that shouldn't/can't be done?
If this is not the correct way, any suggestions?
Thanks.