Jeanne's World Apple Guide Place Apple Guide FAQs |
A mixin (also called a Guide Addition) is an add-on Apple Guide file that can modify its parent guide at run time. A mixin can add sequences or suppress the display of existing sequences in the guide; it can change the index and topics list; and it can override sequences in the guide, replacing them with new content. You can limit a mixin so that it "mixes in" only on machines with a certain configuration, and otherwise leaves the parent guide unchanged.
The mixin is placed in the same folder as the parent guide, but it does not appear in the Guide menu, and the user never selects it directly. Instead, Apple Guide automatically applies the mixin's changes to the parent guide whenever the parent guide is opened.
A mixin can be used:
You can use a qualifier resource - a code segment that returns a boolean - to specify the conditions under which a mixin should mix into the parent guide. When the parent guide is opened, if a qualifier resource is present, Apple Guide checks the qualifier result; if the conditions aren't met, the mixin is ignored and doesn't affect the parent guide.