I defined a series of string constants like below, in macro way,
#define EXT_RESULT_APPID @\"appid\" #define EXT_RESULT_ERROR_CODE @\"errorcode\" #define
Create a header file where you declare your strings and import it when needed