shouldDrawInsertionPoint
挿入ポイントを描くかを返す
解説
挿入ポイントを描くかを返します。
挿入ポイントを描くならYESを返します。
描かないならNOを返します。
返り値
( BOOL )
YES/NO
引数
フレームワーク
ApplicationKit
クラス
NSTextView
Instance Methods
使用可能
10.0
参照
- drawInsertionPointInRect:color:turnedOn:
例文
if ([myOutlet shouldDrawInsertionPoint]){ [myOutlet insertText:@"YES"]; }else{ [myOutlet insertText:@"NO"]; }