macOS/iOS API解説

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

目次

attributedString

属性付き文字列を返します
-(NSAttributedString *)attributedString:()- (:

解説

属性付き文字列を返します。
Mac OS X v10.4以降使用不可です。

返り値

( NSAttributedString * )

引数

(  )- (

フレームワーク

ApplicationKit

クラス

NSATSTypesetter

Instance Methods

使用可能

10.3

参照

-setAttributedString:

例文

[sender setAttributedStringValue: [atsTypesetter attributedString]];