Hey guys, got a weird one here that I can't figure out. I've got a custom view XIB file, loading into the program using:
Now the view loads, and displays just fine. However, the problem occurs when fetching information from the display, or sending information to the display. Some of it works, some of it doesn't. For instance, in this section of code:
The program recognizes that shapeButton.indexOfSelectedItem does equal 1(or whatever the value is), but doesn't have any effect on the label and textField. I've checked my XIB file, and all the connections are there, but the code just isn't making the connections.
Anyone got any ideas what's wrong here?
Code:
[NSBundle loadNibNamed:@"Basic" owner:self];
[window setContentView:basicView];
Now the view loads, and displays just fine. However, the problem occurs when fetching information from the display, or sending information to the display. Some of it works, some of it doesn't. For instance, in this section of code:
Code:
} else if (shapeButton.indexOfSelectedItem == 1) {
[dim1Label setStringValue:@"Width:"];
[dim2Label setHidden:YES];
[dim2Field setHidden:YES];
The program recognizes that shapeButton.indexOfSelectedItem does equal 1(or whatever the value is), but doesn't have any effect on the label and textField. I've checked my XIB file, and all the connections are there, but the code just isn't making the connections.
Anyone got any ideas what's wrong here?