You can easily automate creating enum with property names, like mogenerator by using this service –

Just select your property list, right click and select – Services -> modelObjcEnumGenerator.

And than paste from clipboard.
Thats all.


Categories: ios

Oksana Kovalchuk

Passionate IOS Developer

Related Posts


Stop crying with UITableView and UICollectionView.

В очередной раз перебирая crash логи большого проекта мы устали выгребать тысячи падей у таблиц и collectionView из-за потоков, неверных просчетов секций, индексов и давно всеми известной темы – проблемы с апдейтами у UICollectionView. Пул Read more...


UITextView going crazy…

  Today I stuck with some interesting UITextField behaviour. So when you call: [crayon-5b05156e728e8741812788/] And your current in this moment not visible, for example you don’t use scrolling in textView and text hidden by parent Read more...


Asset catalog system file names

Sometimes IOS become not so obvious and not clear. The same happens to me, when I try to load default splash screen. [crayon-5b05156e729b9271756000/] Example for icons: [crayon-5b05156e729bd402034847/] Related