Mac OS X Reference Library Apple Developer
Search

Deprecated NSCollectionViewItem Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Available in Mac OS X v10.5 through Mac OS X v10.5

representedObject

Returns the receiver’s represented object. (Available in Mac OS X v10.5 through Mac OS X v10.5.)

- (id)representedObject

Return Value

The receiver’s represented object.

Availability
  • Available in Mac OS X v10.5 through Mac OS X v10.5.
Declared In
NSCollectionView.h

setRepresentedObject:

Sets the receiver’s represented object to the specified model object. (Available in Mac OS X v10.5 through Mac OS X v10.5.)

- (void)setRepresentedObject:(id)object

Parameters
object

The receiver’s model object.

Availability
  • Available in Mac OS X v10.5 through Mac OS X v10.5.
Declared In
NSCollectionView.h

setView:

Sets the view the receiver uses to display its represented object. (Available in Mac OS X v10.5 through Mac OS X v10.5.)

- (void)setView:(NSView *)view

Parameters
view

The view that is used to display the receiver’s represented object.

Availability
  • Available in Mac OS X v10.5 through Mac OS X v10.5.
Declared In
NSCollectionView.h

view

Returns the view the receiver uses to display its represented object. (Available in Mac OS X v10.5 through Mac OS X v10.5.)

- (NSView *)view

Return Value

The view the receiver uses to display its represented object.

Availability
  • Available in Mac OS X v10.5 through Mac OS X v10.5.
Declared In
NSCollectionView.h



Last updated: 2009-05-01

Did this document help you? Yes It's good, but... Not helpful...