OSDN Git Service
(root)
/
kcd
/
KCD.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
不要となっていたプロパティを削除
[kcd/KCD.git]
/
KCD
/
IntConvertable.swift
diff --git
a/KCD/IntConvertable.swift
b/KCD/IntConvertable.swift
index
adb07e3
..
b615a78
100644
(file)
--- a/
KCD/IntConvertable.swift
+++ b/
KCD/IntConvertable.swift
@@
-33,3
+33,11
@@
extension NSNumber: IntConvertable {
return self.intValue
}
}
+
+extension NSNull: IntConvertable {
+
+ func toInt() -> Int {
+
+ return 0
+ }
+}