|
@@ -54,6 +54,13 @@
|
|
|
|
|
|
|
|
@implementation CommonEditorViewController
|
|
@implementation CommonEditorViewController
|
|
|
|
|
|
|
|
|
|
+- (void)dealloc {
|
|
|
|
|
+ AppDelegate *appDelegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
|
|
|
|
|
+
|
|
|
|
|
+ [appDelegate.urgencyDic removeObjectForKey:[NSString stringWithFormat:@"level_%d",self.level]];
|
|
|
|
|
+ [appDelegate.urgencyDic setValue:[NSNumber numberWithInteger:self.level] forKey:@"count"];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
- (NSString *)class_name {
|
|
- (NSString *)class_name {
|
|
|
if (!_class_name) {
|
|
if (!_class_name) {
|
|
|
const char *class_name_ch = object_getClassName([self class]);
|
|
const char *class_name_ch = object_getClassName([self class]);
|