Hi!
I tried asking this question at StackOverflow but they were a bit cold. So I am trying my luck here. I am a bit new to coca programming and I Ia m detailing my problem here:
I want to save a the text entered into the text field of a cocoa app into a custom format(CPELX LP format which ends in .lp) The image attached provides somewhat clearer information. I am trying to create a program similar to the one in the image.
When the button optimize is pressed, the text entered into the text field should be saved as, say example.lp at a temporary location and then the app reads the example.lp from that temporary location and solves it. Could anyone tell me where how can i write the text entered into the textfield into the example.lp and which is the best location to store example.lp
I tried asking this question at StackOverflow but they were a bit cold. So I am trying my luck here. I am a bit new to coca programming and I Ia m detailing my problem here:
I want to save a the text entered into the text field of a cocoa app into a custom format(CPELX LP format which ends in .lp) The image attached provides somewhat clearer information. I am trying to create a program similar to the one in the image.

When the button optimize is pressed, the text entered into the text field should be saved as, say example.lp at a temporary location and then the app reads the example.lp from that temporary location and solves it. Could anyone tell me where how can i write the text entered into the textfield into the example.lp and which is the best location to store example.lp