Skip to content

konradczenczek/enumpy-objc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

enumpy-objc

Simple csv to NS_ENUM converter

###Usage: python enum.py --input input.csv --name SomeEnumName

###Output:

enum:
typedef NS_ENUM(NSUInteger, SomeEnumName) {
	SomeEnumNameFirst = 1,
	SomeEnumNameTheSecond,
	SomeEnumNameThirdWithComment, // this is comment
};

transformer dict:
@{
	@"FIRST" : @(SomeEnumNameFirst),
	@"THE_SECOND" : @(SomeEnumNameTheSecond),
	@"THIRD_WITH_COMMENT" : @(SomeEnumNameThirdWithComment),
};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages