NSMutableArray with NSDictionary to Labels without the surrounding brackets

Posted by bigubosu on Stack Overflow See other posts from Stack Overflow or by bigubosu
Published on 2011-02-26T12:09:05Z Indexed on 2011/02/27 7:24 UTC
Read the original article Hit count: 82

I'm making a scoreboard for my game. And when I do a NSLog of the data it comes out as this:

{
    name = TTY;
    score = "3.366347";
}

So my question is how do I remove this brackets and also just grab the name (TTY) and score (3.36 without the quotations) and place them in variable for me to put into labels.

Currently I can place them in labels but they have the lingering curly braces "{" and "}".

Any hints would be helpful as I'm happy to search further I just don't know the vocab to search for it.

thanks

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about nsmutablearray