Overview

This protocol defines the API for the main view controllers. This is implemented by the font view controller and the edit view controller.

Tasks

Properties

activeLayer

The active layer

@property (readonly, nonatomic) GSLayer *activeLayer

Discussion

If only one layer is selected it retunes it, otherwise it retunes nil.

In the editview, this is the layer that has a gray info box.

masterIndex

The index of the active master

@property (nonatomic) NSUInteger masterIndex

representedObject

The GSFont object

@property (readonly, nonatomic) id representedObject

selectedLayers

The selected layers

@property (readonly, nonatomic) NSArray *selectedLayers

shadowLayer

This is a copy of the layer while and drag operation or a filter dialog is active.

@property (strong, nonatomic) GSLayer *shadowLayer

Discussion

It stores the original content objects of the layer, so please don’t change anything