In a large skillet, saute onion in butter until golden and tender. Add the cabbage, apples, cider, sugar, vinegar, salt and pepper. Bring to a boil. Reduce heat; cover and simmer for 1 hour or until cabbage and apples are tender and the liquid is reduced. Sprinkle with bacon.