22
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

プロパティやメソッドを非推奨にしてビルド時に警告メッセージを出す

Last updated at Posted at 2013-10-17
LegacyClass.h
@interface LegacyClass : NSObject
@property(nonatomic, readonly) NSArray* bugs __deprecated_msg("いつまで経っても変更作業が終わりません");
- (void)attendDeathMarch __deprecated_msg("もうウンザリです。何も改善できません");
@end


呼び出してる箇所にこんな感じにXcodeへ表示される

22
20
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
22
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?