mrRay / vvopensource

OSC and MIDI frameworks for OS X and iOS, a framework for managing and rendering to GL textures in OS X, and a functional ISF (interactive shader format) implementation for OS X.
231 stars 33 forks source link

iOS 7 issues with OSCMessage #4

Closed erinnovations closed 10 years ago

erinnovations commented 10 years ago

In iOS 7 the msg addInt and addString doesn't works if I put a variable there.

Also tried to cast it myself in different ways (app.teamName is a string with an int):

1:

        [msg addInt:[app.teamName intValue]];

2:

        int teamNum = [app.teamName intValue];
        NSLog(@"%i", teamNum); // this line works correct
        [msg addInt:teamNum]; // when the message sent only a 0 arrives at the other side

If I put a data explicit then it works correctly:

[msg addInt:123];

In iOS 6 everything works fine. So I think it is an issue with the new iOS version.

erinnovations commented 10 years ago

Nevermind. I had some issue with my code. It is solved.