Declaration

func updateColorPalettes(withContainer container: Any?)

Declaration

- (void) updateColorPalettesWithContainer:(id) container;

Declaration

updateColorPalettesWithContainer_(container: object)

Discussion

For a layer, the associated master should be used as the representative palette container:

container = [layer.font fontMasterForId:layer.associatedMasterId];