I have several questions on how to do certain things in Cocoa:
1) How does NSStepper work exactly? Can I simply connect it to a method in a custom controller, or do I have to set it up a special way? How would that method get the increment from NSStepper? My aim is to have an NSStepper fire a custom method that will do incrementing and decrementing for the values I want it to, and then I can update the UI myself.
2) How can I change the text in a button when its pressed? Do I just call a method to change the text of the button?
3) I want set up a table so that when I click on a cell, it fires a method that will change the text in a text field to the desired text. How would I do this?
4) How do I use an NSTimer? I want to have an NSTimer countdown every second, and at every second, fire a method to update the values and UI. I also want to know how I can start or pause the NSTimer with the push of an NSButton.
5) Is there a way to set values (text) in table cells from IB or do I have to do it through code? If through code only, how would I do that?
6) How can I change what shows up on the "About" panel when you click on About NewApplication?
I appreciate the help.
1) How does NSStepper work exactly? Can I simply connect it to a method in a custom controller, or do I have to set it up a special way? How would that method get the increment from NSStepper? My aim is to have an NSStepper fire a custom method that will do incrementing and decrementing for the values I want it to, and then I can update the UI myself.
2) How can I change the text in a button when its pressed? Do I just call a method to change the text of the button?
3) I want set up a table so that when I click on a cell, it fires a method that will change the text in a text field to the desired text. How would I do this?
4) How do I use an NSTimer? I want to have an NSTimer countdown every second, and at every second, fire a method to update the values and UI. I also want to know how I can start or pause the NSTimer with the push of an NSButton.
5) Is there a way to set values (text) in table cells from IB or do I have to do it through code? If through code only, how would I do that?
6) How can I change what shows up on the "About" panel when you click on About NewApplication?
I appreciate the help.