i’m using Open frameworks (ofx) on ios and I want to show a normal string array in a text field. How can i do this best?
#include <iostream>
#include <string>
@implementation MyGuiView
// called automatically after the view is loaded, can be treated like the constructor or setup() of this class
-(void)viewDidLoad {
myApp = (testApp*)ofGetAppPtr();
}
//----------------------------------------------------------------
-(void)setStatusString:(NSString *)trackStr{
displayText.numberOfLines = 20;
for(int i=0; i< myApp->numDragTags
string statusStr = ofToString(myApp->twitterData);
displayText.text = ofxStringToNSString(statusStr );
}