You can easily automate creating enum with property names, like mogenerator by using this service – http://s.oks.im/modelObjcEnumGenerator.workflow.zip

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

Alister

Stop crying with UITableView and UICollectionView.

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

ios

UITextView going crazy…

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

ios

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-59ec36dc7fbba912839532/] Example for icons: [crayon-59ec36dc7fbbe888261597/] Related