我正在尝试调整 XCode 4 的首选项以自动创建这种缩进样式。可能不常见,但我喜欢它。VS.Net 对此有设置,关于如何在 XCode 中实现相同的任何想法?
- (Tile*)initWithValues:(int) x andY:(int) y andOffX:(int) ox andOffY:(int) oy
{
self = [super init];
if (self)
{
posX = x;
posY = y;
offsetX = ox;
offsetY = oy;
return self;
}
}