我收到错误消息:
“-[CFString 保留]:发送到已释放实例的消息”
当返回[NSString stringWithFormat:@"%d is reserved for future use",reportID];到objectValueForTableColumn.NSOutlineController
但是,当使用文字时,[@"This is a test" copy]一切都很好。
我认为这stringWithFormat将返回一个将由接收者保留的指针,[@"This is a test" copy]但我似乎误解了stringWithFormat。