From 55d85893428435961909259de0b169f2d044c828 Mon Sep 17 00:00:00 2001 From: tasaka-kazunobu Date: Mon, 29 Jun 2015 20:48:03 +0900 Subject: [PATCH] Change enum name --- misen.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misen.swift b/misen.swift index 7a29609..445bbdb 100755 --- a/misen.swift +++ b/misen.swift @@ -54,12 +54,12 @@ extension NSFileManager { file += "extension UIImage {\n" // initializer file += "\n" - file += "\(indent)convenience init!(assetIdentifier: AssetsIdentifier) {\n" - file += "\(indent)\(indent)self.init(named: assetIdentifier.rawValue)\n" + file += "\(indent)convenience init!(assetName: AssetName) {\n" + file += "\(indent)\(indent)self.init(named: assetName.rawValue)\n" file += "\(indent)}\n" // enum file += "\n" - file += "\(indent)enum AssetsIdentifier: String {\n" + file += "\(indent)enum AssetName: String {\n" for str in imagesets { file += "\(indent)\(indent)case \(str) = \"\(str)\"\n" }