重複の可能性:
インターフェイス タイプを静的に割り当てることはできませんか?
他の人と同じように私のコードは次のとおりです。
TZNotifications.h
extern NSString *const TZNotificationKeywordAuthentication;
TZNotifications.m
NSString *const TZNotificationKeywordAuthentication = @"NOTIFICATION_KEYWORD_AUTHENTICATION";
しかし、次のようなコードで 2 つのエラーが発生します。