OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e62acc
)
NSArrayにnilをinsertする可能性があった問題を修正
author
masakih
<masakih@users.sourceforge.jp>
Sun, 23 Mar 2014 14:55:47 +0000
(23:55 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Sun, 23 Mar 2014 14:55:47 +0000
(23:55 +0900)
KCD/HMTSVSupport.m
patch
|
blob
|
history
diff --git
a/KCD/HMTSVSupport.m
b/KCD/HMTSVSupport.m
index
3a3a9da
..
f6e7e88
100644
(file)
--- a/
KCD/HMTSVSupport.m
+++ b/
KCD/HMTSVSupport.m
@@
-43,7
+43,7
@@
sort = [NSSortDescriptor sortDescriptorWithKey:propertyName ascending:ascending];
}
- return [self allObjectOfEntityName:entityName sortDescriptors:
@[sort]
];
+ return [self allObjectOfEntityName:entityName sortDescriptors:
sort ? @[sort] : nil
];
}
- (NSArray *)allObjectOfEntityName:(NSString *)entityName
{