解决方案 »

  1.   

    方法 makeObjectsPerformSelector:withObject: 是NSarray 和 NSset的这个没问题,主要是选择器中的 appendString: 方法是NSMutableString,可变字符串的方法,你使用的List[0]=@"Lifelse" 创建的NSString不可变字符串,对于不可变字符串“Lifelse”没有appendString:的方法。可以使用下面创建。//    List[0]=@"Lifelse";
    //    List[1]=@"feeling";
    //    List[2]=@"Lxy1949";
        List[0] = [NSMutableString stringWithString:@"Lifelse"];
        List[1] = [NSMutableString stringWithString:@"feeling"];
        List[2] = [NSMutableString stringWithString:@"lxy1949"];