Commit 1330584c authored by Jacob Potter's avatar Jacob Potter

Remove extra Count item in ObjC enums. Fixes #99

parent 9497b512
...@@ -8,5 +8,4 @@ typedef NS_ENUM(NSInteger, TXSSortOrder) ...@@ -8,5 +8,4 @@ typedef NS_ENUM(NSInteger, TXSSortOrder)
TXSSortOrderAscending, TXSSortOrderAscending,
TXSSortOrderDescending, TXSSortOrderDescending,
TXSSortOrderRandom, TXSSortOrderRandom,
TXSSortOrderCount,
}; };
...@@ -59,7 +59,6 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) { ...@@ -59,7 +59,6 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) {
writeDoc(w, i.doc) writeDoc(w, i.doc)
w.wl(self + idObjc.enum(i.ident.name) + ",") w.wl(self + idObjc.enum(i.ident.name) + ",")
} }
w.wl(self + "Count,")
} }
}) })
} }
......
...@@ -17,5 +17,4 @@ typedef NS_ENUM(NSInteger, DBColor) ...@@ -17,5 +17,4 @@ typedef NS_ENUM(NSInteger, DBColor)
*/ */
DBColorIndigo, DBColorIndigo,
DBColorViolet, DBColorViolet,
DBColorCount,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment