Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 30, 2007, 05:50 AM   #1
Nutter
macrumors 6502
 
Join Date: Mar 2005
Location: London, England
[ANN] MBThreadingProxies and MBFileEvents

MBThreadingProxies is a category on NSObject which allows you to send a message to an object and have it delivered asynchronously on another thread. The following proxies are available:

– An operation queue proxy, which makes use of Leopard's NSOperation API to deliver the message on one or more background threads which are created, managed, and reused by the system. If the return value of the method you are calling is an object you will get back a future proxy.

– A main thread proxy, which delivers the message on the main thread.

– A background thread proxy, which delivers the message on a new background thread which exits after the message send completes.


MBFileEvents is a category on NSString which allows you to register to receive notifications when a file is modified. It provides an extremely light-weight interface wrapped around a kqueue/kevent implementation.


I hope someone finds these useful. I certainly did.

Last edited by Nutter; Oct 30, 2007 at 05:56 AM.
Nutter is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

All times are GMT -5. The time now is 07:13 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC