NSCollectionView.NewItemForRepresentedObject(NSObject) Method

Definition

[Foundation.Export("newItemForRepresentedObject:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Use 'NSCollectionViewDataSource.GetItem()' instead.")]
public virtual AppKit.NSCollectionViewItem NewItemForRepresentedObject (Foundation.NSObject obj);
abstract member NewItemForRepresentedObject : Foundation.NSObject -> AppKit.NSCollectionViewItem
override this.NewItemForRepresentedObject : Foundation.NSObject -> AppKit.NSCollectionViewItem

Parameters

obj
NSObject

Returns

Attributes

Applies to