Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
新しいファイル .h を作成しましたが、[新しい参照アウトレット] 行を の上にドラッグしてdrawImageViewも強調表示されません。
drawImageView
#import <UIKit/UIKit.h> #import <QuartzCore/QuartzCore.h> @interface JCDrawView : UIView @property (nonatomic,retain) IBOutlet UIImageView *drawImageView; @end
まず、xib を開き、そのルート ビューを選択します。
次に、このビューのクラスがタイプMyCustomView(JCDrawViewあなたの場合) であることを確認します。
MyCustomView
JCDrawView
これで、作成したビューのアウトレットからイメージ ビューを参照できるようになりました。
NOTE MyCustomViewクラスは と同じJCDrawViewです。
空白行の後に続くファイルの後に、どうすればgrep (または同様の何か)<?phpできますか?
grep
<?php
私は成功せずに試しました:
grep -irn '(?<=.\r)\r<?php' *
grepが複数行をサポートしていないよ