我在用XNA绘制地形时遇到了问题,特别是用颜色(这发生在VertexPositionColorNormal和VertexPositionTextureNormal上)。我的代码如下:{ this.coloredTerrainEffect.SpecularPower = 0.01f; //Power of the light
this.coloredTerrainEffect
我想知道为什么我会得到这个错误:self.versionButton.titleLabel.font = [UIFont fontWithName:@"AdobeClean-Light" size:self.versionButton.titleLabel.font.pointSize]; <- Implicit conversion of 'int' to 'id' is disallowed with ARC
查看UIFont的头文件,我发现'fontWithName‘需要一个