Skip to content

Layer naming and groups #2

Closed
Closed
@vpdn

Description

Layers are currently all named "Layer". Would be nice to structure the layers into groups.

Would be cool to put sublayers into psd groups and rename "Layer" to something more meaningful: E.g.

  • Use UIAccessibility
  • Use layer.name if set
  • If layer.name not set, fall back to auto incrementing counter (like "Layer 1.2.1")
  • If layer.delegate is set, name PSD layer based on class name (e.g. "ImageView 1.2.1")
  • If layer.delegate is a know class, could do something smarter. E.g. for UILabel, use label.text or inspect the accessibilityIdentifier

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions