阅读背景:

如何在NSDictionary中正确设置整数值?

来源:互联网 

The following code snippet:

以下代码段:

NSLog(@"userInfo: The timer is %d", timerCounter);

NSDictionary *dict = [NSDictionary dictionaryWithObject:[NSNumber numberWithInteger:timerCounter] forKey:@"timerCounter"];

NSUInteger c = (NSUInteger)[dict objectForKey:@"timerCounter"];
NSLog(@"userInfo: Timer started on %d", c);
NSLog(@"



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: