Inherits from NSObject
Conforms to NSCopying
NSMutableCopying
Declared in POPAnimatableProperty.h

Tasks

Properties

name

@property (readonly, nonatomic, copy) NSString *name
Discussion

Used to uniquely identify an animatable property.

Declared In

POPAnimatableProperty.h

readBlock

Block used to read values from a property into an array of floats.

@property (readonly, nonatomic, copy) void ( ^ ) ( id obj , CGFloat values [ ] ) readBlock

Declared In

POPAnimatableProperty.h

threshold

The threshold value used when determining completion of dynamics simulations.

@property (readonly, nonatomic, assign) CGFloat threshold

Declared In

POPAnimatableProperty.h

writeBlock

Block used to write values from an array of floats into a property.

@property (readonly, nonatomic, copy) void ( ^ ) ( id obj , const CGFloat values [ ] ) writeBlock

Declared In

POPAnimatableProperty.h

Class Methods

propertyWithName:

+ (id)propertyWithName:(NSString *)name
Discussion

Common animatable properties are included by default. Use the provided constants to reference.

Parameters

name

The name of the property.

Return Value

The animatable property with that name or nil if it does not exist.

Declared In

POPAnimatableProperty.h

propertyWithName:initializer:

+ (id)propertyWithName:(NSString *)name initializer:(void ( ^ ) ( POPMutableAnimatableProperty *prop ))block
Discussion

Custom properties should use reverse-DNS naming. A newly created instance is only mutable in the scope of block. Once constructed, a property becomes immutable.

Parameters

name

The name of the property.

block

The block used to configure the property on creation.

Return Value

The animatable property with name if it exists, otherwise a newly created instance configured by block.

Declared In

POPAnimatableProperty.h