I'm sorry if this is a simple question but I cannot find an answer anywhere and I've been working on this problem for a couple of days now.
Basically, what I am trying to do is create a program where the user will input a value into a NSTextField, click a button, and that value will become a coordinate value for a point in a NSView.
Everything I have tried automatically draws the point before the user even inputs any information. Is there a good tutorial out there for this problem that I'm not finding? It seems like it would be a pretty simple solution and maybe I've just been staring at the screen too long.
Thanks.
Basically, what I am trying to do is create a program where the user will input a value into a NSTextField, click a button, and that value will become a coordinate value for a point in a NSView.
Everything I have tried automatically draws the point before the user even inputs any information. Is there a good tutorial out there for this problem that I'm not finding? It seems like it would be a pretty simple solution and maybe I've just been staring at the screen too long.
Thanks.