collectionView_shouldSelectItemsAtIndexPaths_ property

ObjCProtocolMethod<NSSet Function(NSCollectionView, NSSet)> collectionView_shouldSelectItemsAtIndexPaths_
final

collectionView:shouldSelectItemsAtIndexPaths:

Implementation

static final collectionView_shouldSelectItemsAtIndexPaths_ =
    objc.ObjCProtocolMethod<
      objc.NSSet Function(NSCollectionView, objc.NSSet)
    >(
      _protocol_NSCollectionViewDelegate,
      _sel_collectionView_shouldSelectItemsAtIndexPaths_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSPasteboardType,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_zi5eed)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSCollectionViewDelegate,
        _sel_collectionView_shouldSelectItemsAtIndexPaths_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (objc.NSSet Function(NSCollectionView, objc.NSSet) func) =>
          ObjCBlock_NSSet_ffiVoid_NSCollectionView_NSSet.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSCollectionView arg1,
              objc.NSSet arg2,
            ) => func(arg1, arg2),
          ),
    );