这段代码有什么问题?
这样可行:
NSDictionary* fact = [facts objectAtIndex:currentFactId];
[myTextView setText:[fact objectForKey:@"fact"]];
这不起作用:
NSDictionary* fact = [facts objectAtIndex:currentFactId];
NSString *fact_string = [fact objectForKey:@"fact"];
这段代码有什么问题?
这样可行:
NSDictionary* fact = [facts objectAtIndex:currentFactId];
[myTextView setText:[fact objectForKey:@"fact"]];
这不起作用:
NSDictionary* fact = [facts objectAtIndex:currentFactId];
NSString *fact_string = [fact objectForKey:@"fact"];