Hi all,
im having a UIView file which responds to touches and there is also UIViewController. I saw in some example that UIViewController is initallised to UIView using initWithNibName. But initWithNibName is giving warning because it is avialable only for NSViewController.So now how to initalise UIViewController with UIView.
MetronomeViewController *viewController = [[MetronomeViewController alloc] initWithNibName
"MetronomeView" bundle:nil];
MetronomeView is UIView type file.
im having a UIView file which responds to touches and there is also UIViewController. I saw in some example that UIViewController is initallised to UIView using initWithNibName. But initWithNibName is giving warning because it is avialable only for NSViewController.So now how to initalise UIViewController with UIView.
MetronomeViewController *viewController = [[MetronomeViewController alloc] initWithNibName
MetronomeView is UIView type file.