Creating a box to take input using ofxInputField?

I want to draw a box on the screen that can have text typed in it so that I can then take that input and do things with it. As of now, I am able to draw a text box to the screen, but I cannot figure out how to enable typing into that text box. If this makes any sense, any help I could get would be much appreciated. Thanks!

I had to install ofxTextInputField recently, as a dependency for another add-on.
So that’s why I tried it when I saw your question.
Take a look at the example-textInput.
(The Xcode project from GitHub wasn’t usable out of the box, so I created a new project with the ProjectGenerator and copied the src files)

1 Like