macOS/iOS API解説

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

目次

NSLayoutConstraintクラス

INDEX>UIKit>

レイアウト制限クラス

apple(iOS)

解説

AutoLayoutの際に使用します。

継承 NSObject
準拠 NSObject (NSObject)
フレームワーク /System/Library/Frameworks/UIKit.framework
使用可能 iOS 6.0以降
定義 NSLayoutConstraint.h

概要

サブクラス化の注意

引数

メソッドとプロパティ

制限データにアクセス

priority property
firstItem property
firstAttribute property
relation property
secondItem property
secondAttribute property
multiplier property
constant property

Controlling Constraint Archiving

shouldBeArchived property

例文


編集時のバージョン

OS X 10.8
iOS 6.1