예제 #1
0
        public virtual void Unschedule(NSRunLoop aRunLoop, string forMode)
        {
            if (aRunLoop == null)
            {
                throw new ArgumentNullException("aRunLoop");
            }
            if (forMode == null)
            {
                throw new ArgumentNullException("forMode");
            }
            var nsforMode = NSString.CreateNative(forMode);

            if (IsDirectBinding)
            {
                Messaging.void_objc_msgSend_IntPtr_IntPtr(this.Handle, Selector.GetHandle("unscheduleFromRunLoop:forMode:"), aRunLoop.Handle, nsforMode);
            }
            else
            {
                Messaging.void_objc_msgSendSuper_IntPtr_IntPtr(this.SuperHandle, Selector.GetHandle("unscheduleFromRunLoop:forMode:"), aRunLoop.Handle, nsforMode);
            }
            NSString.ReleaseNative(nsforMode);
        }
예제 #2
0
 public virtual void ScheduleInRunLoop(NSRunLoop runLoop, string forMode)
 {
 }
예제 #3
0
 public virtual void RemoveFromRunLoop(NSRunLoop runLoop, string forMode)
 {
 }
예제 #4
0
 public virtual void UnscheduleFromRunLoop(NSRunLoop aRunLoop, string forMode)
 {
 }