macOS/iOS API解説

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

目次

0-05-06から1日間の記事一覧

initWithMarkerFormat:options:

NSTextListオブジェクトを作って返します -(id)initWithMarkerFormat:(NSString *)format: options:(unsigned)mask: 解説 NSTextListオブジェクトを作って返します。 返り値 ( id ) オブジェクト() 引数 ( NSString * )format ( unsigned )mask フレームワ…

widthValueTypeForLayer:edge:

レイヤーの幅値タイプを返します -(NSTextBlockValueType)widthValueTypeForLayer:(NSTextBlockLayer)layer: edge:(NSRectEdge)edge: 解説 レイヤーの幅値タイプを返します。 返り値 ( NSTextBlockValueType ) なし 引数 ( NSTextBlockLayer )layer ( NSRect…

widthForLayer:edge:

レイヤーの幅を返します -(float)widthForLayer:(NSTextBlockLayer)layer: edge:(NSRectEdge)edge: 解説 レイヤーの幅を返します。 【NSTextBlockLayer】 NSTextBlockPadding NSTextBlockBorder NSTextBlockMargin【NSRectEdge】 NSMinXEdge NSMinYEdge NSMa…

verticalAlignment

垂直の揃えを返します 解説 垂直の揃えを返します。 【NSTextBlockVerticalAlignment】 ●NSTextBlockTopAlignment ●NSTextBlockMiddleAlignment ●NSTextBlockBottomAlignment ●NSTextBlockBaselineAlignment 返り値 ( NSTextBlockVerticalAlignment ) なし …

valueTypeForDimension:

パーセントで指定されるか、絶対値で指定されるかを返します -(NSTextBlockValueType)valueTypeForDimension:(NSTextBlockDimension)dimension: 解説 パーセントで指定されるか、絶対値で指定されるかを返します。 返り値 ( NSTextBlockValueType ) NSTextBl…

valueForDimension:

指定した方向の値を得ます -(float)valueForDimension:(NSTextBlockDimension)dimension: 解説 指定した方向の値を得ます。 初期設定では0.0が返ってきます。 NSTextBlockWidth ブロックの幅 NSTextBlockMinimumWidth NSTextBlockMaximumWidth NSTextBlockHe…

setWidth:type:forLayer:edge:

幅をセットします -(void)setWidth:(float)val: type:(NSTextBlockValueType)type: forLayer:(NSTextBlockLayer)layer: edge:(NSRectEdge)edge: 解説 調査中... 幅をセットします。 返り値 ( void ) なし 引数 ( float )val ( NSTextBlockValueType )type ( …

setWidth:type:forLayer:

テキストブロックの指定したレイヤーのすべての端の幅を同時にセットします -(void)setWidth:(float)val: type:(NSTextBlockValueType)type: forLayer:(NSTextBlockLayer)layer: 解説 テキストブロックの指定したレイヤーのすべての端の幅を同時にセットしま…

setVerticalAlignment:

** -(void)setVerticalAlignment:(NSTextBlockVerticalAlignment)alignment: 解説 テキストブロックの垂直そろえをセットします。 返り値 ( void ) なし 引数 ( NSTextBlockVerticalAlignment )alignment フレームワーク ApplicationKit クラス NSTextBlock …

setValue:type:forDimension:

テキストブロックの外形寸法のバリュータイプをセットします -(void)setValue:(float)val: type:(NSTextBlockValueType)type: forDimension:(NSTextBlockDimension)dimension: 解説 テキストブロックの外形寸法のバリュータイプをセットします。 値valはポイ…

setContentWidth:type:

** -(void)setContentWidth:(float)val: type:(NSTextBlockValueType)type: 解説 テキストブロックの幅をセットします。 この値valはポイントでの絶対値またはブロックを囲んでいるパーセントのどちらかです。 typeによって指定します。 【NSTextBlockValueT…

setBorderColor:forEdge:

** -(void)setBorderColor:(NSColor *)color: forEdge:(NSRectEdge)edge: 解説 テキストブロックの指定した端ののボーダーカラーをセットします。 この設定はボーダー幅が0以上でない限り表示効果がない。 返り値 ( void ) なし 引数 ( NSColor * )color ( N…

setBorderColor:

テキストブロックのすべてのボーダーカラーをセットします -(void)setBorderColor:(NSColor *)color: 解説 テキストブロックのすべてのボーダーカラーをセットします。 この設定はボーダー幅が0以上でない限り表示効果がない。 返り値 ( void ) なし 引数 ( …

setBackgroundColor:

テキストブロックの背景色をセットします -(void)setBackgroundColor:(NSColor *)color: 解説 テキストブロックの背景色をセットします。 返り値 ( void ) なし 引数 ( NSColor * )color フレームワーク ApplicationKit クラス NSTextBlock Instance Methods…

rectForLayoutAtPoint:inRect:textContainer:characterRange:

** -(NSRect)rectForLayoutAtPoint:(NSPoint)startingPoint: inRect:(NSRect)rect: textContainer:(NSTextContainer *)textContainer: characterRange:(NSRange)charRange: 解説 調査中... 返り値 ( NSRect ) なし 引数 ( NSPoint )startingPoint ( NSRect )…

init

** 解説 空のNSTextBlockオブジェクトを初期化して返します。 これは指定のイニシャライザです。 返り値 ( id ) オブジェクト() 引数 フレームワーク ApplicationKit クラス NSTextBlock Instance Methods 使用可能 10.4 参照 例文