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

Để tránh nhầm lẫn, các "trình duyệt lớp," thuật ngữ hoặc chỉ là "trình duyệt", trong chương này đề cập đến các trình duyệt mô hình lớp, không phải là trình duyệt lớp thảo luận trong chương 9. | Class Model Browser 291 CLASS MODEL BROWSER The upper pane in the class model is the class model browser as shown in Figure 14-5. On the left is the list of classes being tracked by the model. Selecting a class displays the class s members in the middle list. Selecting an item in either list displays additional information about that item in the details pane on the right. You can use the dividers between these sections to resize them within limits. FIGURE 14-5 To avoid any confusion the term class browser or just browser in this chapter refers to the class model browser not the class browser discussed in Chapter 9. Class modeling can be used to model C Java and Objective-C classes. The terminology used in class modeling tends to be neutral Properties refer to instance or member variables of a class. Operations refer to class methods functions or messages. Protocols refer to either Objective-C protocols or Java interfaces. Categories are Objective-C categories. Packages are Java packages. Not all modeling concepts apply to all languages. Categories only appear when modeling Objective-C classes. Package names only appear when you re modeling Java classes. Multiple-inheritance can only occur with C classes. You can customize the browser display a number of different ways. In the lower-left corner of both the class and member lists is a pop-up menu that will alter a list s display. The choices for the class list shown on the left in Figure 14-6 are Flat List and Inheritance Tree. Flat List lists all of the classes alphabetically. Inheritance Tree lists the classes in a hierarchical browser. Download at 292 CHAPTER 14 CLASS MODELING FIGURE 14-6 The list options for the members list lets you select between Show All Members Show Properties and Show Operations. You can resize and reorder the columns for both lists as desired by dragging the column separators or headers. Right Control-click the column titles to control which columns the list displays also .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.