Instance Method

needsDisplay

Returns a Boolean indicating whether the layer has been marked as needing an update.

Declaration

- (BOOL)needsDisplay;

Return Value

YES if the layer needs to be updated.

See Also

Updating Layer Display

- setNeedsDisplay

Marks the layer’s contents as needing to be updated.

- setNeedsDisplayInRect:

Marks the region within the specified rectangle as needing to be updated.

needsDisplayOnBoundsChange

A Boolean indicating whether the layer contents must be updated when its bounds rectangle changes.

- displayIfNeeded

Initiates the update process for a layer if it is currently marked as needing an update.

+ needsDisplayForKey:

Returns a Boolean indicating whether changes to the specified key require the layer to be redisplayed.