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:
f54656d
)
HMQuestListCommandを修正
author
masakih
<masakih@users.sourceforge.jp>
Sat, 14 Jan 2017 00:38:31 +0000
(09:38 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Sat, 14 Jan 2017 00:38:31 +0000
(09:38 +0900)
初めて起動した時正しく動かない問題を修正
KCD/HMQuestListCommand.swift
patch
|
blob
|
history
diff --git
a/KCD/HMQuestListCommand.swift
b/KCD/HMQuestListCommand.swift
index
6b853e2
..
031eb9a
100644
(file)
--- a/
KCD/HMQuestListCommand.swift
+++ b/
KCD/HMQuestListCommand.swift
@@
-55,8
+55,7
@@
class HMQuestListCommand: HMJSONCommand {
let keysPiar = keys.map { (key: $0, apiKey: "api_\($0)") }
let so = NSSortDescriptor(key: "no", ascending: true)
guard let qq = try? store?.objects(withEntityName: "Quest", sortDescriptors: [so], predicate: nil),
- let quests = qq as? [HMKCQuest],
- quests.count != 0
+ let quests = qq as? [HMKCQuest]
else { return }
questList.forEach {
guard let questData = $0 as? [String:Any] else { return }