macOS/iOS API解説

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

目次

constraintWithAttribute:relativeTo:attribute:offset:

**

+(id)constraintWithAttribute:(LKConstraintAttribute)attr:
                    relativeTo:(NSString *)srcLayer:
                    attribute:(LKConstraintAttribute)srcAttr:
                    offset:(CGFloat)offset:

解説

指定のパラメータと一緒にLKConstraintオブジェクトを作って返します。

返り値

( id )

引数

( LKConstraintAttribute )attr
( NSString * )srcLayer
( LKConstraintAttribute )srcAttr
( CGFloat )offset

フレームワーク

CoreAnimation

クラス

LKConstraint

Class Methods

使用可能

10.5

参照

例文