macOS/iOS API解説

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

目次

0-04-01から1日間の記事一覧

cacheMode

キャッシュモードを返します 解説 キャッシュモードを返します。 【NSImageCacheMode】 ●NSImageCacheDefault デフォルト ●NSImageCacheAlways いつもキャッシュする ●NSImageCacheBySize オリジナルよりキャッシュサイズが小さいとき ●NSImageCacheNever キ…

initByReferencingURL:

指定したURLからNSImageを初期化します -(id)initByReferencingURL:(NSURL *)url: 解説 指定したURLからNSImageを初期化します。 返り値 ( id ) オブジェクト() 引数 ( NSURL * )url フレームワーク ApplicationKit クラス NSImage Instance Methods 使用…

openHelpAnchor:inBook:

** -(void)openHelpAnchor:(NSString *)anchor: inBook:(NSString *)book: 解説 指定したbookの指定したanchorのヘルプを表示します。 bookをnilで指定すると全てのブックから探します。 返り値 ( void ) なし 引数 ( NSString * )anchor ( NSString * )book…

findString:inBook:

** -(void)findString:(NSString *)query : inBook:(NSString *)book: 解説 指定した本から指定したqueryを検索します。 返り値 ( void ) なし 引数 ( NSString * )query ( NSString * )book フレームワーク ApplicationKit クラス NSHelpManager Instance M…

glyphName

グリフ名を返します 解説 グリフ名を返します。なければnilを返します。 glyphInfoWithGlyphName:forFont:baseStringで作ったGlyphInfoでなければnil 返り値 ( NSString * ) グリフ名 引数 フレームワーク ApplicationKit クラス NSGlyphInfo Instance Met…

characterIdentifier

CIDを返します 解説 CIDを返します。 glyphInfoWithCharacterIdentifier:collection:baseString:でインスタンス化されなければnilを返します。 返り値 ( unsigned int ) 整数値 引数 フレームワーク ApplicationKit クラス NSGlyphInfo Instance Methods 使…

characterCollection

グリフとキャラクタのマッピング方法を返します 解説 グリフとキャラクタのマッピング方法を返します。 【NSCharacterCollection】 ●NSIdentityMappingCharacterCollection CID ●NSAdobeCNS1CharacterCollection Adobe-CNS1 ●NSAdobeGB1CharacterCollection …

glyphInfoWithGlyphName:forFont:baseString:

グリフ名からglyphInfoを返します +(NSGlyphInfo *)glyphInfoWithGlyphName:(NSString *)glyphName: forFont:(NSFont *)font: baseString:(NSString *)theString: 解説 グリフ名からglyphInfoを返します。 返り値 ( NSGlyphInfo * ) なし 引数 ( NSString * …

glyphInfoWithGlyph:forFont:baseString:

グリフ、フォント、ベース文字でグリフ情報を返します +(NSGlyphInfo *)glyphInfoWithGlyph:(NSGlyph)glyph: forFont:(NSFont *)font: baseString:(NSString *)theString: 解説 グリフ、フォント、ベース文字でグリフ情報を返します。 返り値 ( NSGlyphInfo …

glyphInfoWithCharacterIdentifier:collection:baseString:

CID(文字IDコード)からglyphinfoを返します +(NSGlyphInfo *)glyphInfoWithCharacterIdentifier:(unsigned int)cid: collection:(NSCharacterCollection)characterCollection: baseString:(NSString *)theString: 解説 CID(文字IDコード)からglyphinfoを…

generateGlyphsForGlyphStorage:desiredNumberOfCharacters:glyphIndex:characterIndex:

** -(void)generateGlyphsForGlyphStorage:(id <NSGlyphStorage>)glyphStorage desiredNumberOfCharacters:(unsigned: desiredNumberOfCharacters:(unsigned int)nChars: glyphIndex:(unsigned int *)glyphIndex: characterIndex:(unsigned int *)charIndex: 解説 glyphstora</nsglyphstorage>…

sharedGlyphGenerator

** 解説 共有GlyphGeneratorを作って返します。 返り値 ( id ) オブジェクト() 引数 フレームワーク ApplicationKit クラス NSGlyphGenerator Class Methods 使用可能 10.0 参照 例文

setFrameSize:

フォームオブジェクトのサイズをセットします -(void)setFrameSize:(NSSize)size: 解説 フォームオブジェクトのサイズをセットします。 返り値 ( void ) なし 引数 ( NSSize )size フレームワーク ApplicationKit クラス NSForm Instance Methods 使用可能 1…

removeCollection:

コレクションを削除します -(BOOL)removeCollection:(NSString *)collectionName: 解説 コレクションを削除します。 返り値 ( BOOL ) YES/NO 引数 ( NSString * )collectionName フレームワーク ApplicationKit クラス NSFontManager Instance Methods 使用…

addCollection:options:

コレクションを追加します -(BOOL)addCollection:(NSString *)collectionName: options:(int) collectionOptions : 解説 コレクションを追加します。 【 collectionOptions 】 NSFontCollectionApplicationOnlyMask 返り値 ( BOOL ) YES/NO 引数 ( NSString …

fontDescriptorsInCollection:

コレクションに含まれるフォントをフォントデスクリプタの配列で返します -(NSArray *)fontDescriptorsInCollection:(NSString *)collectionNames: 解説 コレクションに含まれるフォントをフォントデスクリプタの配列で返します。 返り値 ( NSArray * ) なし…

collectionNames

コレクション名のリストを配列で返します 解説 コレクション名のリストを配列で返します。 返り値 ( NSArray * ) なし 引数 フレームワーク ApplicationKit クラス NSFontManager Instance Methods 使用可能 10.3 参照 -fontDescriptorsInCollection: 例文 #…

availableFontNamesMatchingFontDescriptor:

フォントデスクリプタと名前が合うフォントを返します。 -(NSArray *)availableFontNamesMatchingFontDescriptor:(NSFontDescriptor *)descriptor: 解説 フォントデスクリプタと名前が合うフォントを返します。 返り値 ( NSArray * ) なし 引数 ( NSFontDesc…

convertAttributes:

** -(NSDictionary *)convertAttributes:(NSDictionary *)attributes: 解説 属性を変換する 返り値 ( NSDictionary * ) なし 引数 ( NSDictionary * )attributes フレームワーク ApplicationKit クラス NSFontManager Instance Methods 使用可能 10.3 参照 -…

setSelectedAttributes:isMultiple:

** -(void)setSelectedAttributes:(NSDictionary *)attributes: isMultiple:(BOOL)flag : 解説 属性をセットする。 返り値 ( void ) なし 引数 ( NSDictionary * )attributes ( BOOL )flag フレームワーク ApplicationKit クラス NSFontManager Instance Met…

orderFrontStylesPanel:

フォントスタイルパネルを表示します -(void)orderFrontStylesPanel:(id)sender: 解説 フォントスタイルパネルを表示します。 返り値 ( void ) なし 引数 ( id )sender フレームワーク ApplicationKit クラス NSFontManager Instance Methods 使用可能 10.3 …

initWithFontAttributes:

フォント属性からフォントデスクリプタを初期化して返します -(id)initWithFontAttributes:(NSDictionary *)attributes: 解説 フォント属性からフォントデスクリプタを初期化して返します。 返り値 ( id ) イベント番号 引数 ( NSDictionary * )attributes …

fontAttributes

レシーバの属性辞書を返します 解説 レシーバの属性辞書を返します。 返り値 ( NSDictionary * ) イベント番号 引数 フレームワーク ApplicationKit クラス NSFontDescriptor Instance Methods 使用可能 10.3 参照 例文 #import "MyObject.h" @implementatio…

fontDescriptorWithName:size:

名前とサイズでフォントデスクリプタを作ります +(id)fontDescriptorWithName:(NSString *)fontName: size:(float)size : 解説 名前とサイズでフォントデスクリプタを作ります。 返り値 ( id ) イベント番号 引数 ( NSString * )fontName ( float )size フレ…

fontDescriptorWithFontAttributes:

属性の辞書から、フォントデスクリプタを返します +(id)fontDescriptorWithFontAttributes:(NSDictionary *)attributes: 解説 属性の辞書から、フォントデスクリプタを返します。 返り値 ( id ) イベント番号 引数 ( NSDictionary * )attributes フレームワ…

systemFontSizeForControlSize:

コントロールサイズから、システムフォントサイズを返します +(float)systemFontSizeForControlSize:(NSControlSize)controlSize: 解説 コントロールサイズから、システムフォントサイズを返します。 【NSControlSize】 ●NSRegularControlSize ●NSSmallContr…

coveredCharacterSet

フォントに含まれる文字をキャラクタセットにして返します 解説 フォントに含まれる文字をキャラクタセットにして返します。 返り値 ( NSCharacterSet * ) キャラクタセット 引数 フレームワーク ApplicationKit クラス NSFont Instance Methods 使用可能 10…

fileNameExtensionWasHiddenInLastRunSavePanel

最終のセーブパネルでファイル名は拡張子を隠されていたかを返します 解説 最終のセーブパネルでファイル名は拡張子を隠されていたかを返します。 返り値 ( BOOL ) NSDocumentオブジェクト 引数 フレームワーク ApplicationKit クラス NSDocument Instance M…

windowForSheet

ドキュメントの親ウインドウを返します 解説 ドキュメントの親ウインドウを返します。 返り値 ( NSWindow * ) ウインドウ 引数 フレームワーク ApplicationKit クラス NSDocument Instance Methods 使用可能 10.3 参照 例文 #import "MyObject.h" @implement…

resizeUpDownCursor

リサイズ(上下)システムカーソル 解説 リサイズ(上下)システムカーソル 返り値 ( NSCursor * ) カーソル 引数 フレームワーク ApplicationKit クラス NSCursor Class Methods 使用可能 10.3 参照 例文 [[NSCursor resizeUpDownCursor] set];