setConstrainedFrameSize:
フレームサイズをセットします
-(void)setConstrainedFrameSize:(NSSize)desiredSize:
解説
フレームサイズをセットします。
テキストビューの最小/最大のサイズによって制限されます。
返り値
( void )
なし
引数
( NSSize )desiredSize
フレームサイズ
フレームワーク
ApplicationKit
クラス
NSTextView
Instance Methods
使用可能
10.0
参照
- minSize (NSText)
- maxSize (NSText)
- isHorizontallyResizable (NSText)
- isVerticallyResizable (NSText)
例文
[myOutlet setContinuousSpellCheckingEnabled:YES]; if ([myOutlet isContinuousSpellCheckingEnabled]){ [myOutlet insertText:@"YES"]; } else{ [myOutlet insertText:@"NO"]; }