Re: When does Cocoa fall apart? (Run loops)
Re: When does Cocoa fall apart? (Run loops)
- Subject: Re: When does Cocoa fall apart? (Run loops)
- From: Chris Idou <email@hidden>
- Date: Wed, 22 Oct 2008 06:56:53 -0700 (PDT)
Nope, just one thread.
I'm finding KVO and bindings to be extremely flakey. Maybe I'm pushing them harder than other folks, I don't know, because I'm starting to use them all over the place. I'll try the finishInit mentioned by dreamcat, and see if that helps.
The problem I reported recently where NSObjectController screws up KVO has been confirmed by Apple as a real bug as well. I'm not too impressed with Cocoa at the moment.
--- On Wed, 10/22/08, Raphael Sebbe <email@hidden> wrote:
> From: Raphael Sebbe <email@hidden>
> Subject: Re: When does Cocoa fall apart? (Run loops)
> To: email@hidden
> Cc: email@hidden
> Date: Wednesday, October 22, 2008, 2:42 AM
> in the latter, are you in a secondary thread? This could
> explain your
> problem.Otherwise, I did not experience that lately.
>
> Best,
>
> Raphael
>
> On Wed, Oct 22, 2008 at 6:05 AM, Chris Idou
> <email@hidden> wrote:
>
> >
> > I noticed with the below discussed isEnabled bindings
> problem that if I do:
> >
> > [objectController
> performSelectorOnMainThread:@selector(setContent:)
> > withObject:title waitUntilDone:NO];
> >
> > instead of.....
> >
> > [objectController setContent:title];
> >
> > then it seems to start behaving better.
> >
> > I think I've noticed this once or twice in the
> past, that things that don't
> > seem to work as they should, start working when you
> throw them on the run
> > loop. In this case, the isEnabled bindings status of
> toolbar items seems to
> > start working when I do certain things on the Run loop
> instead of
> > immediately.
> >
> > Have people noticed these situations? What causes
> them, and when should I
> > look out for it?
> >
> >
> > Re: Toolbar buttons and isEnabled binding
> >
> > > From: Chris Idou <email@hidden>
> > > Subject: Toolbar buttons and isEnabled binding
> > > To: email@hidden
> > > Date: Tuesday, October 21, 2008, 7:04 AM
> > > I seem to be getting erratic behaviour from
> toolbar button
> > > isEnabled bindings. In some scenarios they
> don't seem to
> > > work correctly.
> > >
> > > I've tried putting the exact same binding
> criteria on
> > > some regular buttons just to see what happens,
> and they seem
> > > to work correctly when the toolbar buttons
> don't.
> > >
> > > Has anyone else noticed this?
> >
> >
> >
> > _______________________________________________
> >
> > Cocoa-dev mailing list (email@hidden)
> >
> > Please do not post admin requests or moderator
> comments to the list.
> > Contact the moderators at
> cocoa-dev-admins(at)lists.apple.com
> >
> > Help/Unsubscribe/Update your Subscription:
> >
> >
> > This email sent to email@hidden
> >
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden