Inherits from | |
Conforms to | NSCopying NSCoding (NSViewController) NSCoding (NSResponder) NSObject (NSObject) NSEditor (Informal Protocol) (NSViewController) NSEditorRegistration (Informal Protocol) (NSViewController) |
Framework | /System/Library/Frameworks/AppKit.framework |
Availability | Available in Mac OS X v10.5 and later. |
Declared in | NSCollectionView.h |
NSCollectionViewItem
class is a controller that manages the relationship between a compound view and the model object that provides its content. Instances of this class are replicated in a NSCollectionView
.
Important: In Mac OS X v10.5, the superclass of the NSCollectionViewItem class was NSObject. In Mac OS X v10.6 and later, NSCollectionViewItem is now a subclass of NSViewController. This change was made to improve how the view is replicated within the NSCollectionView. NSCollectionViewItem remains binary compatible with the previous implementation and unarchiving is correctly handled.
– representedObject
Available in Mac OS X v10.5 through Mac OS X v10.5
– setRepresentedObject:
Available in Mac OS X v10.5 through Mac OS X v10.5
– setView:
Available in Mac OS X v10.5 through Mac OS X v10.5
– view
Available in Mac OS X v10.5 through Mac OS X v10.5
Returns the receiver’s collection view.
- (NSCollectionView *)collectionView
The receiver’s collection view.
NSCollectionView.h
Last updated: 2009-05-01