I'm currently working on a project that simply converts a DMX value to a 100% value.

I have all the code I need and it works properly, but when i try to run it in xcode, it only shows the first number I type. I can type something larger or more than 1 character and it will still affect it the same, but it doesn't show up until the program outputs the converted result.

If I run it in Terminal it works perfect, the issue is only in xcode.
Any suggestions?

Thanks