【发布时间】:2010-10-09 14:29:06
【问题描述】:
谁能给我更多关于这个错误的信息?
仅控制台日志 程序以状态值退出:101。
如果你想象我有一个 nsmutablearray:
它包含 TimeEntry 对象:
#import <Foundation/Foundation.h>
#import "Constants.h"
/*
#define KTimeEntryInformationKey @"TEInformation"
#define KTimeEntryFromKey @"TEFrom"
#define KTimeEntryToKey @"TETo"
*/
@interface TimeEntry : NSObject <NSCopying, NSCoding> {
NSDate *from;
NSDate *to;
NSString *information;
}
@property (nonatomic, retain) NSDate *from;
@property (nonatomic, retain) NSDate *to;
@property (nonatomic, copy) NSString *information;
@end
仅当我将 15-20+ TimeEntry 对象添加到数组时,应用程序才会给我错误,并在弹出上述 viewController(如图)时给我错误。
【问题讨论】:
标签: iphone objective-c cocoa-touch xcode