This may just be me having a bad day, but I am hitting a wall here.
I have started a new empty project (I am trying out some theories before taking it back to the main development)
I have two views in the .nib
ViewA and ViewB
In my ViewController I have two UIView declerations as IBOutlet
Via Interface Builder, I am able to assign:
NIBViewA -> view
That would be the default startup view for the controller.
Build/Run in simulator, everything fine.
Then if I assign:
NIBViewB -> viewB
Upon the start of the Interface Builder, I get an unexpected error and can't run. Debugger isn't showing me much, unless I am just not seeing the issue.
This happens as well if I assign NIBViewA ->viewA
Any ideas on what is wrong?
In a nutshell, I want to have multiple views in a NIB file, and assign them to object variables in the code so I can access them when different events occur.
Like I said, could just be a bad day thing so please accept my apologizes if this is a simple trivial thing, simple searches didn't turn up any other posts.
I have started a new empty project (I am trying out some theories before taking it back to the main development)
I have two views in the .nib
ViewA and ViewB
In my ViewController I have two UIView declerations as IBOutlet
Code:
@interface iDirecTVViewController : UIViewController {
UIView *viewA;
UIView *viewB;
}
// Object Exposure
@property (nonatomic, retain) IBOutlet UIView *viewA;
@property (nonatomic, retain) IBOutlet UIView *viewB;
Via Interface Builder, I am able to assign:
NIBViewA -> view
That would be the default startup view for the controller.
Build/Run in simulator, everything fine.
Then if I assign:
NIBViewB -> viewB
Upon the start of the Interface Builder, I get an unexpected error and can't run. Debugger isn't showing me much, unless I am just not seeing the issue.
This happens as well if I assign NIBViewA ->viewA
Any ideas on what is wrong?
In a nutshell, I want to have multiple views in a NIB file, and assign them to object variables in the code so I can access them when different events occur.
Like I said, could just be a bad day thing so please accept my apologizes if this is a simple trivial thing, simple searches didn't turn up any other posts.