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

Thanh tra danh tính cũng đã trở thành một mặt bằng bán phá giá đối với các thuộc tính vô danh mà không phù hợp gọn gàng vào bất kỳ của người kiểm tra khác. Tùy thuộc vào kiến trúc tài liệu ngòi và loại đối tượng, bạn có thể fi thứ một khả năng tiếp cận các thuộc tính nhóm, một nhóm công cụ thủ thuật, hệ thống trợ giúp nhận dạng nhóm, hoặc một đối tượng động defi ned thuộc tính nhóm thanh tra | 262 CHAPTER 13 INTERFACE BUILDER The identity inspector has also become a dumping ground for obscure attributes that don t fit neatly into any of the other inspectors. Depending on the nib document architecture and object type you might find an accessibility attributes group a tool tips group a help system identity group or a dynamically defined object attributes group in the inspector. If you re trying to find an attribute that you think should be editable in Interface Builder but can t find it poke around in the identity inspector it might be there. Inspecting Multiple Objects Generally the inspector palette displays whatever attributes are common to all of the objects in a multi-object selection. Thus if all of the selected objects are button objects the attributes inspector presents all of the attributes for a button object. Changing any of the attributes in the inspector updates that value in every button. If the selection is heterogeneous the inspector presents the most detail common to all of the objects. Selecting a button and a box view object allows you to edit the properties common to both whether the views are hidden their position resize behavior and so on but it would not for example allow you to set whether the objects were enabled because the enabled property is an NSControl attribute and NSBox is not a subclass of NSControl. CONNECTING OBJECTS Connections are probably Interface Builder s defining feature. To restate a connection is little more than an object reference one object has an instance variable that points to another object. Interface Builder allows you to set that variable to point to another object simply by dragging a connection line from one to the other. There are two principal kinds of connections in Interface Builder Outlets are simple instance variable references from one object to another. An outlet gives one object direct access to another object. Outlets allow you to weave arbitrary graphs of objects in a nib document. Actions .

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.