スキップしてメイン コンテンツに移動

setAutoresizingMask:


Determines how the receiver’s resizeWithOldSuperviewSize: method changes its frame rectangle.
- (void)setAutoresizingMask:(NSUInteger)mask
Parameters
mask
An integer bit mask. mask can be specified by combining using the C bitwise OR operator any of the options described in “Resizing masks”.
Discussion
Where more than one option along an axis is set, resizeWithOldSuperviewSize: by default distributes the size difference as evenly as possible among the flexible portions. For example, if NSViewWidthSizable and NSViewMaxXMargin are set and the superview’s width has increased by 10.0 units, the receiver’s frame and right margin are each widened by 5.0 units.
Availability
  • Available in OS X v10.0 and later.
Declared In
NSView.h

コメント

このブログの人気の投稿

日本に来た 今三週間

四月六日に日本に来た、今三週間になった。 嬉しくなかった、悲しくなかった。 日本の携帯電話のカメラはとてもいいよ、私は今撮影が好きだ、いつも寮に帰る途中で花とか魚とか写真を撮る。これも生活の趣味だ。 滴は綺麗だ 桜が凋んで落ちる 天気がいいとき、自転車に乗って、食材を買った。 自分で料理をつくる、おいしそうでしょう。 昨日清水寺に行った、天気はとても熱いね。日に焼けすぎたので、腕は今赤い。 側に花があるので、赤い清水寺はもっと美しそうだ。 木の色は艶やかだ。