Hi ,
I have in my .xib file two views,
one is the main view that connected to the view outlet from the file's owner and
the second one I named ABC from the code
-IBOutlet UIView *ABC;
my question is how do I call the ABC view from another class if ABC view isn't
connected to the "view" outlet from the file's owner
I can call the main view from another class
LoginRegisterViewController *viewController = [[LoginRegisterViewController alloc] initWithNibName:@"LoginRegisterViewController" bundle:nil];
self.loginRegisterViewController = viewController;
[viewController release];
I have in my .xib file two views,
one is the main view that connected to the view outlet from the file's owner and
the second one I named ABC from the code
-IBOutlet UIView *ABC;
my question is how do I call the ABC view from another class if ABC view isn't
connected to the "view" outlet from the file's owner
I can call the main view from another class
LoginRegisterViewController *viewController = [[LoginRegisterViewController alloc] initWithNibName:@"LoginRegisterViewController" bundle:nil];
self.loginRegisterViewController = viewController;
[viewController release];
No comments:
Post a Comment