There are multiple ways to do this and I'm not sure which one is best. I'm going to read Apple's threading docs tonight.

2008/2/29, Vincent Spader <vince@vspader.com>:
I just noticed that status is set off-main-thread and it seemed to work
fine.

I'm pretty sure this didn't work on Tiger, because UI calls needed to be on
the main thread, and KVO receives on whatever thread the change happened on.
Was this updated for Leopard? I can't find any reference for it in the docs.

Either way, if it's not in the docs, status should also be set in the main
thread.

Cheers,
--Vincent Spader



On Fri, Feb 29, 2008 at 09:37:49PM +0100, Matthew Leon Grinshpun wrote:
> Okay, I'll work on this.
> -Matthew
>
> 2008/2/29, Vincent Spader <vince@vspader.com>:
> >
> > On Fri, Feb 29, 2008 at 08:34:10PM +0100, Matthew Leon Grinshpun wrote:
> > > I was going to take a look at playlistentry myself, actually... Two
> > things
> > > jump out at me right away:
> > > 1. The setKeys: calls in the initialize method are all deprecated. I'll
> > go
> > > ahead and replace them.
> >
> > Okey doke.
> >
> > > 2. The setProperties: method strikes me as redundant since KVC give you
> > the
> > > more flexible setValuesForKeysWithDictionary. Is there a reason we need
> > > this?
> >
> > They're needed for people who don't know about
> > setValuesForKeysWithDictionary ;).
> >
> > That and setMetadata can probably be removed, we'd just need a special
> > title
> > getter to use the filename if title does not exist. Also, I'm not entirely
> > certain that it needs to be called on the main thread...
> >
> > Cheers,
> >
> > --Vincent Spader
> >
> >
> > >
> > > -Matthew
> > >
> > > 2008/2/29, Vincent Spader <vince@vspader.com>:
> > > >
> > > > On Fri, Feb 29, 2008 at 08:26:57PM +0100, Matthew Leon Grinshpun
> > wrote:
> > > > > Just a heads-up that I'm back from London... I will be working on
> > > > > implementing the better Spotlight search interface discussed
> > previously,
> > > > > looking into the Spotlight crashes that have popped up on the forum
> > and
> > > > also
> > > > > looking into cleaning up some other code.
> > > > > -Matthew
> > > >
> > > >
> > > > Welcome back! I've likely broken a couple things due to some changes
> > in
> > > > PlaylistEntry. I haven't had much time to dig in and fix them though.
> > > >
> > > > Cheers,
> > > > --Vincent Spader
> > > >
> > > >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Cogosx-devel mailing list
> > Cogosx-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/cogosx-devel
> >
>
>

> ____________________________________________________________________________________
> Use the link below to report this message as spam.
> https://lavabit.com/apps/teacher?sig=214957&key=73367325
> ____________________________________________________________________________________

> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Cogosx-devel mailing list
> Cogosx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cogosx-devel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cogosx-devel mailing list
Cogosx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cogosx-devel