macOS/iOS API解説

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

目次

NSAttributedString

NSAttributedStringクラス

変更不可な属性付き文字列クラス Index>Foundation>NSAttributedString apple(mac) 解説 変更不可な属性付き文字クラス 継承 NSObject 準拠 NSCoding NSCopying NSMutableCopying NSObject (NSObject) フレームワーク /System/Library/Frameworks/Foundation…

NSAttributedStringクラス

INDEX>Foundation>NSAttributedString 変更不可な属性付き文字列クラス 編集時のバージョン OS X 10.8 iOS 6.1 apple(OS X)apple(iOS) 解説 変更不可な属性付き文字クラス 継承 NSObject 準拠 NSCoding NSCopying NSMutableCopying NSObject (NSObject) フレ…

string

INDEX>Foundation>NSAttributedString 属性付文字列から文字列を返します 解説 属性付文字列から文字列を返します。 返り値 ( NSString * ) 文字列 引数 フレームワーク Foundation クラス NSAttributedString Instance Methods 使用可能 10.0 iOS3.2 参照 …

itemNumberInTextList:atIndex:

-(NSRange)itemNumberInTextList:(NSTextList *)list: atIndex:(unsigned)location: 解説 リスト中のindexの場所で項目の範囲を返します。 返り値 ( NSRange ) なし 引数 ( NSTextList * )list ( unsigned )location フレームワーク ApplicationKit クラス N…

enumerateAttributesInRange:options:usingBlock:

INDEX>Foundation>NSAttributedString 解説 返り値 引数 フレームワーク Foundation クラス NSAttributedString 使用可能 10.6 iOS4.0 参照 例文

enumerateAttribute:inRange:options:usingBlock:

INDEX>Foundation>NSAttributedString 解説 返り値 引数 フレームワーク Foundation クラス NSAttributedString 使用可能 10.6 iOS4.0 参照 例文

length

INDEX>Foundation>NSAttributedString 属性付き文字列の長さを返します 解説 属性付き文字列の長さを返します。 返り値 ( unsigned int ) 整数値 引数 フレームワーク Foundation クラス NSAttributedString Instance Methods 使用可能 10.0 iOS3.2 参照 - l…

isEqualToAttributedString:

INDEX>Foundation>NSAttributedString レーシーバの属性付き文字列と、他の属性付き文字列が同じかを返します -(BOOL)isEqualToAttributedString:(NSAttributedString *)otherString: 解説 レーシーバの属性付き文字列と、他の属性付き文字列(otherString)が…

initWithString:attributes:

INDEX>Foundation>NSAttributedString 文字列と文字属性を表す辞書から、属性付き文字列を作って返します -(id)initWithString:(NSString *)aString: attributes:(NSDictionary *)attributes: 解説 文字列と文字属性を表す辞書から、属性付き文字列を作って…

initWithString:

INDEX>Foundation>NSAttributedString 文字列から属性付文字列を初期化して返します -(id)initWithString:(NSString *)aString: 解説 文字列から属性付文字列を初期化して返します。 返り値 ( id ) 属性付き文字列 引数 ( NSString * )aString 文字列 フレー…

initWithAttributedString:

INDEX>Foundation>NSAttributedString 属性付き文字列から属性付き文字列を作って返します -(id)initWithAttributedString:(NSAttributedString *)attributedString: 解説 属性付き文字列から属性付き文字列を作って返します。 返り値 ( id ) 属性付き文字列…

attributesAtIndex:longestEffectiveRange:inRange:

INDEX>Foundation>NSAttributedString 番号で属性と適用される範囲を返します -(NSDictionary *)attributesAtIndex:(unsigned)index: longestEffectiveRange:(NSRangePointer)aRange: inRange:(NSRange)rangeLimit: 解説 番号で属性と適用される範囲を返しま…

attributesAtIndex:effectiveRange:

INDEX>Foundation>NSAttributedString 属性付き文字列の属性の番号で指定してその文字属性を辞書で返します -(NSDictionary *)attributesAtIndex:(unsigned)index: effectiveRange:(NSRangePointer)aRange: 解説 属性付き文字列の番号(index)で指定してその…

attributedSubstringFromRange:

INDEX>Foundation>NSAttributedString レシーバの属性付き文字列から指定した範囲を返します -(NSAttributedString *)attributedSubstringFromRange:(NSRange)aRange: 解説 レシーバの属性付き文字列から指定した範囲を返します。 返り値 ( NSAttributedStri…

-attribute:atIndex:longestEffectiveRange:inRange:

INDEX>Foundation>NSAttributedString 属性名と番号で属性と適用される範囲を返します -(id)attribute:(NSString *)attributeName: atIndex:(unsigned int)index: longestEffectiveRange:(NSRangePointer)aRange: inRange:(NSRange)rangeLimit: 解説 属性名…

attribute:atIndex:effectiveRange:

INDEX>Foundation>NSAttributedString 属性名と番号で属性と適用される範囲を返します -(id)attribute:(NSString *)attributeName: atIndex:(unsigned int)index: effectiveRange:(NSRangePointer)aRange: 解説 属性名と番号で属性と適用される範囲を返しま…

initWithURL:options:documentAttributes:error:

-(id)initWithURL:(NSURL *)url: options:(NSDictionary *)options: documentAttributes:(NSDictionary **)dict: error:(NSError **)error: 解説 調査中... 返り値 ( id ) オブジェクト() 引数 ( NSURL * )url ( NSDictionary * )options ( NSDictionary *…

fileWrapperFromRange:documentAttributes:error:

-(NSFileWrapper *)fileWrapperFromRange:(NSRange)range: documentAttributes:(NSDictionary *)dict: error:(NSError **)error: 解説 調査中... 指定する範囲のテキストストリーム文字、属性のNSFileWrapperオブジェクトを返します。 返り値 ( NSFileWrappe…

drawWithRect:options:

現在のグラフィックコンテキストのaRectの中にオプションでレシーバーに描画します -(void)drawWithRect:(NSRect)rect: options:(NSStringDrawingOptions)options: 解説 現在のグラフィックコンテキストのaRectの中にオプションでレシーバーに描画します 返…

dataFromRange:documentAttributes:error:

-(NSData *)dataFromRange:(NSRange)range: documentAttributes:(NSDictionary *)dict: error:(NSError **)error: 解説 調査中... 返り値 ( NSData * ) なし 引数 ( NSRange )range ( NSDictionary * )dict ( NSError ** )error フレームワーク ApplicationK…

-boundingRectWithSize:options:

オプションの指定で現在のグラフィックコンテキストの内側のレシーバーの描画矩形を計算して返します -(NSRect)boundingRectWithSize:(NSSize)size: options:(NSStringDrawingOptions)options: 黒にんにく くろまる 31片入×2袋出版社/メーカー: 樅木工業メデ…

rangeOfTextBlock:atIndex:

-(NSRange)rangeOfTextBlock:(NSTextBlock *)block: atIndex:(unsigned)location: 解説 ロケーションを含む 特定のテキストブロックの範囲を返します。 返り値 ( NSRange ) なし 引数 ( NSTextBlock * )block ( unsigned )location フレームワーク Applicati…

rangeOfTextList:atIndex:

-(NSRange)rangeOfTextList:(NSTextList *)list: atIndex:(unsigned)location: 解説 コンテンツロケーションのリストの範囲を返します。 返り値 ( NSRange ) なし 引数 ( NSTextList * )list ( unsigned )location フレームワーク ApplicationKit クラス NSA…

rangeOfTextTable:atIndex:

-(NSRange)rangeOfTextTable:(NSTextTable *)table: atIndex:(unsigned)location: 解説 コンテンツロケーションのテキストテーブルの範囲を返します。 返り値 ( NSRange ) なし 引数 ( NSTextTable * )table ( unsigned )location フレームワーク Applicatio…