定数にstructを使う
ヘッダファイル
extern const struct LocalNotificationAttributes { __unsafe_unretained NSString *weeklyWork; } LocalNotificationAttributes;
mファイル
const struct LocalNotificationAttributes LocalNotification = { .weeklyWork = @"LocalNotification.weeklyWork" };
使い方
LocalNotification.weeklyWork; // ドットでアクセスできる