macOS/iOS API解説

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

目次

drawSegment:inFrame:withView:

セグメントを描画します
-(void)drawSegment:(int)segment:
      inFrame:(NSRect )frame:
      withView:(NSView *)controlView:

解説

セグメントを描画します。

返り値

( void )

なし

引数

( int )segment
( NSRect  )frame
( NSView * )controlView

フレームワーク

ApplicationKit

クラス

NSSegmentedCell

Instance Methods

使用可能

10.3

参照

-drawWithFrame:inView: (NSCell)

例文

-(void)drawSegment:(int )segment inFrame:(NSRect)frame withView:(NSView *)controlView
{
NSLog(@"!!!");

[super drawSegment:segment inFrame:frame withView:controlView];
}