macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

setDefaultParagraphStyle:

初期設定の段落スタイルをセットします
-(void)setDefaultParagraphStyle:(NSParagraphStyle *)paragraphStyle:

解説

初期設定の段落スタイルをセットします。

返り値

( void )

なし

引数

( NSParagraphStyle * )paragraphStyle

フレームワーク

ApplicationKit

クラス

NSTextView

Instance Methods

使用可能

10.3

参照

-defaultParagraphStyle

例文

[myOutlet setDefaultParagraphStyle:[NSParagraphStyle defaultParagraphStyle]];
NSLog([[myOutlet defaultParagraphStyle] description]);