Lập trình Wrox Professional Xcode 3 cho Mac OS part 9

Sự lựa chọn thứ ba là nhấn vào Hủy bỏ Old Sau đó, nút Create. Các hành động của nút này tương đương với rst fi kiểm tra tất cả các les fi được liệt kê và nhấp vào nút Ghi đè lên tập tin được chọn. Khi hộp thoại là fi rst trình bày, tất cả các fi les được kiểm tra, làm cho hành động của hai nút bấm giống hệt nhau. | Adding Existing Items 75 The third choice is to click the Remove Old Then Create button. The action of this button is equivalent to first checking all of the files listed and clicking the Overwrite Selected Files button. When the dialog box is first presented all of the files are checked making the action of the two buttons identical. After the files are moved aside new files are created in the same location from the template. If there were already source items for these files you now have duplicate source items. Make note of the new source items which will be selected and remove the duplicates. The files that were moved aside are no longer referred to from the project. You can examine the files recover what you want and then trash them along with the spontaneously generated folder that contains them. CREATING AN EMPTY FILE The File New File command performs several common steps and can be a great time saver but sometimes you just want an empty file that doesn t have a name isn t based on a template isn t added to a project and isn t included in one or more targets. The File New Empty File command Command Control N does exactly that. In fact the New Empty File command is very similar to the New command found in most text editor applications. It opens an empty untitled editor window. The content of the new window is not associated with a file until it is saved. The first time it is saved Xcode kindly offers to add the new file to the active project. You can accept or decline. If you accept you are presented with the same options you re given when you add any existing source file to a project. These options are explained fully in the next section. ADDING EXISTING ITEMS You won t create every file in your project from scratch. There will be many occasions when you have an existing file or document that you want to add to your project and you certainly don t write the frameworks you link to. At some point you are going to need to add existing files folders and .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.