Apple Inc. introduced new versions of its Macintosh personal computers Thursday, betting that smaller, thinner models and a touch screen on the keyboard will reverse declining sales.

Apple refreshed its MacBook Pro laptops, adding a thin touch screen on top of the keyboards of some models. Users can slide and touch the bar to edit photos, navigate the web or authorize online purchases.