TAILIEUCHUNG - Lập trình Wrox Professional Xcode 3 cho Mac OS part 21

Thêm một mẫu vào danh sách bằng cách sử dụng nút + bên dưới danh sách; loại bỏ các mô hình sử dụng - nút. Kiểm tra mẫu (để kích hoạt nó), và sau đó kích đúp vào hình để chỉnh sửa nó, như trong Hình 8-7. | 160 CHAPTER 8 SEARCHING Add a pattern to the list using the button below the list remove patterns using the - button. Check the pattern to enable it and then double-click the pattern to edit it as shown in Figure 8-7. Batch Find Options Add. Delete__J O All candidate files Q Source files only @ Filter files using regex patterns E Include . h H hxx hpp l Include CVS Find Sets I Shell Scripts Search in open documents Search in open projects O Selected files in this project O All files in this project All open projects O This project and referenced projects O Project files and frameworks Project files only O Frameworks only O Search in included files Search in files and folders u Include 0 FIGURE 8-7 Each batch find options set remembers which patterns it uses but the patterns themselves are a global list shared by all sets of every project. This allows you to share patterns with other sets and projects easily but also means that if you edit a pattern you re changing the rule for every batch finds options set everywhere. When in doubt create a new pattern. To the left of each pattern is the Include Exclude control that determines whether the pattern must match or not match a filename to be included in the set. For a file to be included in the search its name must satisfy all of the checked regular expression patterns in the list. If the list has the two patterns Include .m and Include .h both checked then no files will be searched there is no filename that will match both .m and . h . In general use at most one Include pattern to define the principle group of files to consider and then use additional Exclude terms to winnow out unwanted files. SEARCH PATTERNS The various Find commands all apply a search pattern to the text of your files in order to find the text that matches the pattern. Xcode gives you a lot of flexibility in specifying the parameters of your search from a simple unanchored literal text string to complex

Đã 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.