Cast value from NSNotification's object

Posted by E-Madd on Stack Overflow See other posts from Stack Overflow or by E-Madd
Published on 2010-05-14T22:06:18Z Indexed on 2010/05/14 22:14 UTC
Read the original article Hit count: 226

Filed under:

How can I cast the object in a NSNotification to an integer and to a string? When I log the notification to the console I get...

NSConcreteNotification 0x20af70 {name = kMessageCountNotification; object = 1}

But when I set the text value of a UILabel to that value, I get 72855952

© Stack Overflow or respective owner

Related posts about objective-c