Instance Method
decomposeComponentDontNotify(_:callback:) decomposeComponentDontNotify:callback: decomposeComponentDontNotify_callback_
Decomposes one component without triggering layer updates and invokes a callback for decomposed component layers.
Declaration
func decomposeComponentDontNotify(_ aComponent: GSComponent, callback layerCallback: ((GSComponent, GSLayer) -> Bool)? = nil) -> BoolDeclaration
- (BOOL) decomposeComponentDontNotify:(GSComponent *) aComponent callback:(BOOL (^)(GSComponent *component, GSLayer *layer)) layerCallback;Declaration
decomposeComponentDontNotify_callback_(aComponent: GSComponent, component: GSComponent, layer: GSLayer, layerCallback) -> boolReturn Value
YES if decomposition finished.
Discussion
Use this only inside code that handles the required updates itself.
See Also
Component Decomposition
A copy of the layer with components decomposed.
Decomposes one component.
Decomposes one component without triggering layer updates.
Decomposes all components.
Decomposes all components and invokes a callback for decomposed component layers.
Decomposes corner components.
Decomposes smart outline components.