Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sergio10

macrumors regular
Original poster
Oct 3, 2007
137
0
Hi,
Here is a code:
PHP:
		NSString* className = @"SomeClass"

		UIViewController *viewController = [[(Class)className alloc] initWithNibName:aXIBName bundle:[NSBundle mainBundle]];

It crashes. How to solve the problem?

Thank you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.