Skip to content

Commit

Permalink
Merge branch 'gajjartejas-master' into develop
Browse files Browse the repository at this point in the history
* gajjartejas-master:
  NSCoding protocol - swift 3 compatible

Conflicts:
	JSONExport/Supported Languages/Swift-Class.json
  • Loading branch information
Ahmed-Ali committed Feb 12, 2017
2 parents 1dd4d31 + 0b6a2d9 commit d7b0191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JSONExport/Supported Languages/Swift-Class.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"bodyEnd": "\n\t}\n",
"signature": " @objc required init(coder aDecoder: NSCoder)",
"forEachCustomTypeProperty": " <!VarName!> = aDecoder.decodeObject(forKey: \"<!JsonKeyName!>\") as? <!VarType!>\n",
"forEachArrayOfCustomTypeProperty": " <!VarName!> = aDecoder.decodeObject(forKey: \"<!JsonKeyName!>\") as? <!VarType!>\n",
"forEachArrayOfCustomTypeProperty": " <!VarName!> = aDecoder.decodeObject(forKey :\"<!JsonKeyName!>\") as? <!VarType!>\n",
"returnStatement": "",
"body": "",
"comment": "\n /**\n * NSCoding required initializer.\n * Fills the data from the passed decoder\n */\n",
Expand All @@ -86,7 +86,7 @@
{
"forEachProperty": "\t\tif <!VarName!> != nil{\n\t\t\taCoder.encode(<!VarName!>, forKey: \"<!JsonKeyName!>\")\n\t\t}\n",
"bodyEnd": "\n\t}\n",
"signature": " func encode(with aCoder: NSCoder)",
"signature": " @objc func encode(with aCoder: NSCoder)",
"forEachCustomTypeProperty": "\t\tif <!VarName!> != nil{\n\t\t\taCoder.encode(<!VarName!>, forKey: \"<!JsonKeyName!>\")\n\t\t}\n",
"forEachArrayOfCustomTypeProperty": "\t\tif <!VarName!> != nil{\n\t\t\taCoder.encode(<!VarName!>, forKey: \"<!JsonKeyName!>\")\n\t\t}\n",
"returnStatement": "",
Expand Down

0 comments on commit d7b0191

Please sign in to comment.