Displaying an NSString on a Custom View

Posted by ilovetacos on Stack Overflow See other posts from Stack Overflow or by ilovetacos
Published on 2010-04-11T16:02:06Z Indexed on 2010/04/11 16:23 UTC
Read the original article Hit count: 347

I have an interface that has an NSTextField, NSButton, and an NSView. When I type something in the textfield and press the button, I want the text to be drawn in the NSView. So far I have everything connected and working, except for the view.

How can I connect the text and the view so that every time I press the button, the text is drawn to the view?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about cocoa-design-patterns