RE: NSRunloop + shared thread

2009-11-21 Thread Colin Deasy
> Subject: Re: NSRunloop + shared thread > From: hank.l...@runbox.com > Date: Fri, 20 Nov 2009 09:28:02 -0500 > CC: colde...@hotmail.com; cocoa-dev@lists.apple.com > To: j...@mooseyard.com > > On Nov 19, 2009, at 7:51 PM, Jens Alfke wrote: > > > On Nov 19, 2009,

RE: NSRunloop + shared thread

2009-11-19 Thread Colin Deasy
> Date: Thu, 19 Nov 2009 15:21:37 -0800 > CC: cocoa-dev@lists.apple.com > To: colde...@hotmail.com > > > On Nov 19, 2009, at 2:54 PM, Colin Deasy wrote: > > > I have a shared thread that is used to process multiple asynchronous tasks. > > But at some point, a

NSRunloop + shared thread

2009-11-19 Thread Colin Deasy
Hey, I have a shared thread that is used to process multiple asynchronous tasks. But at some point, a task may need to 'pause' its execution, and cannot exit its method and wait to be re-called, how can I do this? In that method, where a 'pause' instance is brought about, can I use something li

RE: NSURLDownload delegate methods seperate thread

2009-09-09 Thread Colin Deasy
NSURLDownload delegate methods seperate thread > Date: Wed, 9 Sep 2009 09:57:45 -0700 > > > On Sep 9, 2009, at 8:35 AM, Colin Deasy wrote: > > > Ok so I have tried both ways, using the main thread for the download > > messages and using NSOperationQueue to create separate th

RE: NSURLDownload delegate methods seperate thread

2009-09-09 Thread Colin Deasy
From: Dave Carrigan [mailto:d...@rudedog.org] Sent: 08 September 2009 22:12 To: Colin Deasy Cc: cocoa-...@not-pc.com; cocoa-dev@lists.apple.com Subject: Re: NSURLDownload delegate methods seperate thread On Sep 8, 2009, at 1:43 PM, Colin Deasy wrote: > Spot on, thanks man. > > F

RE: NSURLDownload delegate methods seperate thread

2009-09-08 Thread Colin Deasy
m; cocoa-dev@lists.apple.com > From: d...@rudedog.org > To: colde...@hotmail.com > Subject: Re: NSURLDownload delegate methods seperate thread > Date: Tue, 8 Sep 2009 12:55:33 -0700 > > > On Sep 8, 2009, at 12:36 PM, Colin Deasy wrote: > > > Well I did try that

RE: NSURLDownload delegate methods seperate thread

2009-09-08 Thread Colin Deasy
> To: colde...@hotmail.com > > On Sep 8, 2009, at 1:03 PM, Colin Deasy wrote: > > > Hey, > > Is anyone aware of a way to receive NSURLDownload's delegate methods > > on a separate thread, i.e. not the main one? > > "Delegate messages will be sent o

NSURLDownload delegate methods seperate thread

2009-09-08 Thread Colin Deasy
Hey, Is anyone aware of a way to receive NSURLDownload's delegate methods on a separate thread, i.e. not the main one? I am using an NSOperationQueue to manage them but at the moment I need to use the performSelectorOnMainThread method to get it too work. The problem with this is that it drives

(no subject)

2009-09-07 Thread Colin Deasy
Does the returned obj from this method: - (NSCollectionViewItem *)newItemForRepresentedObject:(id)object require a release? ThanksColin _ Share your memories online with anyone you want. http://www.microsoft.com/ireland/windows/windo

RE: NSServices

2009-09-03 Thread Colin Deasy
k in) to make the Service appear. > If you are unsure if the system is recognizing the context, run pbs > with the -dump_pboard flag > > /System/Library/CoreServices/pbs -dump_pboard > > find your app's entry and make sure it shows the NSRequiredContext. > Post agai

RE: NSServices

2009-09-03 Thread Colin Deasy
Ive tried it with the required context as well, no luck. I even tried building it with 10.6 SDK. > From: kyle.slu...@gmail.com > To: colde...@hotmail.com > Subject: Re: NSServices > Date: Wed, 2 Sep 2009 20:41:33 -0700 > CC: cocoa-dev@lists.apple.com > > Re-read the docs. Your plist needs to sp

NSServices

2009-09-02 Thread Colin Deasy
Hi, I've been trying to get NSServices working for my application recently with no success. I have set it up according to the documentation but it does not appear in the services menu ( however it does appear in the keyboard shortcuts section of the System Preferences as a service menu item)Any