This is a super basic question, but I am at a loss. I want the default values I enter in Interface Builder to show up when I run my program.
I have text fields of the “with Number Formatter” variety, each with its Value bound to an NSNumber property of a custom object. I have written no code yet, just set up the interface.
The project builds and runs, but the text fields show as empty. If I disconnect the bindings, they show the default values I entered in IB. So…how do I tell Xcode, “Hey, see these default values in IB? Yeah, use those to populate the NSNumber properties, not the other way around.”
I’m on 10.9 running Xcode 5.0.2.
I have text fields of the “with Number Formatter” variety, each with its Value bound to an NSNumber property of a custom object. I have written no code yet, just set up the interface.
The project builds and runs, but the text fields show as empty. If I disconnect the bindings, they show the default values I entered in IB. So…how do I tell Xcode, “Hey, see these default values in IB? Yeah, use those to populate the NSNumber properties, not the other way around.”
I’m on 10.9 running Xcode 5.0.2.