Save one outer leaf, then finely shred the cabbage.
Toss the cabbage with the salt and squeeze it with clean hands until it releases its juice. Mix in the apple if using.
Pack tightly into a clean quart jar until the juice rises above the cabbage. Top with the saved leaf and a weight.
Cover loosely and leave at cool room temperature for 1 to 4 weeks, tasting from the first week on.
Keep the cabbage under the brine and skim off any white film. Discard if it is slimy, smells rotten or grows fuzzy mold. Refrigerate when it tastes right to you.