Instance Property
parentGroup
The direct containing group in the layer’s shape hierarchy.
Declaration
var parentGroup: GSShapeGroup? { get }Declaration
@property (nonatomic, readonly) GSShapeGroup * parentGroup;Declaration
parentGroup() -> GSShapeGroupDiscussion
An ungrouped shape in a layer belongs to the layer’s root group. The value is nil when the shape does not belong to a layer or its parent group cannot be resolved.
See Also
Shape Hierarchy
The ID of the parent group.
Invokes a block for each containing group, from the direct parent through the root group.