I want to have macros for all constant strings in the project, which I am assigned to maintain.
The format of database fields are like @"first_name"
, @"last_name"
, etc.
What I want is like follows:
#define kFirstName @"first_name"
#define kLastName @"last_name" // And so on.
Problem: I have over 3500 unique fields with constant strings. I want each one of them to be defined as macro.
Any smarter way to do this. I am thinking of manually copy, paste & edit each one of them.
Tagging as iOS
& Objective-C
, as the project itself is an iPad
Application.