Examples of NSInvocationOperation


Examples of org.rococoa.contrib.appkit.NSInvocationOperation

            tasks.put(invocation.id(), this);
        }
        private NSInvocationOperation createInvocation(final ObjCObject toInvoke) {
            return doWithAutoreleasePool(new Callable<NSInvocationOperation> () {
                public NSInvocationOperation call() {
                    NSInvocationOperation result = NSInvocationOperation.CLASS.alloc();
                    //when the NSOperationQueue executes the NSInvocationOperation, run() is
                    //called on this object.
                    result = result.initWithTarget_selector_object(toInvoke.id(), RUN_SELECTOR, null);
                    return result;
                }
            });
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.