Skip to content

Commit

Permalink
Change enum name
Browse files Browse the repository at this point in the history
  • Loading branch information
tasaka-kazunobu committed Jun 29, 2015
1 parent 4e97b77 commit 55d8589
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 55d8589

Please sign in to comment.