예제 #1
0
 unsafe void Invoke(global::MCSwipe.MCSwipeTableViewCell cell, global::MCSwipe.MCCellState state, global::MCSwipe.MCCellMode mode)
 {
     invoker(blockPtr, cell == null ? IntPtr.Zero : cell.Handle, state, mode);
 }
예제 #2
0
            static unsafe void Invoke(IntPtr block, IntPtr cell, global::MCSwipe.MCCellState state, global::MCSwipe.MCCellMode mode)
            {
                var descriptor = (BlockLiteral *)block;
                var del        = (global::MCSwipe.MCSwipeCompletionBlock)(descriptor->Target);

                if (del != null)
                {
                    del(Runtime.GetNSObject <MCSwipe.MCSwipeTableViewCell> (cell), state, mode);
                }
            }