insertNewline:
挿入ポイントに行分割文字を挿入します
-(void)insertNewline:(id)sender:
解説
挿入ポイントに行分割文字を挿入します。NSTextViewで実装します。
返り値
( void )
なし
引数
( id )sender
送信オブジェクト
フレームワーク
ApplicationKit
クラス
NSResponder
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [myOutlet insertNewline:nil]; } @end