1
날짜가 제목에 설정되지 않은 이유를 이해할 수 없습니다. 항상 무시되며 날짜와 제목을 바꿔 넣으면 제목이 무시됩니다!날짜는 항상 무시됩니다
-(id)initWithCoordinate:(CLLocationCoordinate2D)c title:(NSString *)t
{
[super init];
coordinate = c;
NSDate *today = [NSDate date];
[self setTitle:(@"%@%@", [today description], t)];
//[today release];
return self;
}
쉼표 표현을 사용하는 이유는 무엇입니까?! – kennytm