我想我是瞎了,因为我不知道这段代码中的语法错误在哪里:
if( cell == nil ) {
titledCell = [ [ [ TitledCell alloc ] initWithFrame:CGRectZero
reuseIdentifier:CellIdentifier ] autorelease
];
switch( cellNumber ) {
case 1:
NSString *viewDataKey = @"Name";
etc...
当我试图编译它时,我在最后一行得到了Error: syntax error before '*' token分.
很抱歉问了这么一个基本的问题,但我遗漏了什么?