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)
TXSSortOrderAscending,
TXSSortOrderDescending,
TXSSortOrderRandom,
TXSSortOrderCount,
};
......@@ -59,7 +59,6 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) {
writeDoc(w, i.doc)
w.wl(self + idObjc.enum(i.ident.name) + ",")
}
w.wl(self + "Count,")
}
})
}
......
......@@ -17,5 +17,4 @@ typedef NS_ENUM(NSInteger, DBColor)
*/
DBColorIndigo,
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