Hold down the Option key while dragging a part of you code. Xcode selects the code and allows you to change all selected lines at once.