コード例 #1
0
 public NSBackgroundActivityScheduler(string identifier)
     : base(LibObjc.IntPtr_objc_msgSend_IntPtr(
                Class.GetHandle(className), selAlloc, new NSString(identifier).Handle))
 {
     LibObjc.void_objc_msgSend_IntPtr(Handle, selInitWithIdentifier, new NSString(identifier).Handle);
 }
コード例 #2
0
 

 unsafe void SetupHandler(BlockLiteral *block_ptr_handler)
 {
     LibObjc.IntPtr_objc_msgSend_IntPtr(Handle, selScheduleWithBlock.Handle, new IntPtr(block_ptr_handler));
 }