Skip to content

Commit f2837c9

Browse files
committed
fixed NSObject extension
1 parent 75536f1 commit f2837c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftyJSONAccelerator/SJModelGenerator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public class ModelGenerator {
197197

198198
if self.supportNSCoding! {
199199
if let nscodingBase = try? String(contentsOfFile: NSBundle.mainBundle().pathForResource("NSCodingTemplate", ofType: "txt")!) {
200-
content = content.stringByReplacingOccurrencesOfString("{NSCODING_PROTOCOL_SUPPORT}", withString: ", NSCoding, NSObject")
200+
content = content.stringByReplacingOccurrencesOfString("{NSCODING_PROTOCOL_SUPPORT}", withString: ", NSCoding")
201201
content = content.stringByReplacingOccurrencesOfString("{NSCODING_SUPPORT}", withString: nscodingBase)
202202

203203
content = content.stringByReplacingOccurrencesOfString("{ENCODERS}", withString: encoders)

0 commit comments

Comments
 (0)