kev*_*oza 0 if-statement objective-c iphone-sdk-3.0
出于某种原因,这个if语句给了我一个"Expected:before"令牌.
if ([ [mine commodity] isEqualToString:@"Gold"] && [gold == YES])
{
[tempMine setAnnotationType:iProspectLiteAnnotationTypeGold];
[mapView addAnnotation:tempMine];
}
Run Code Online (Sandbox Code Playgroud)
我有没有看到一些错字?
| 归档时间: |
|
| 查看次数: |
51 次 |
| 最近记录: |