Re: Seeking advice on NSLock usage
Re: Seeking advice on NSLock usage
- Subject: Re: Seeking advice on NSLock usage
- From: Andreas Mayer <email@hidden>
- Date: Mon, 13 Dec 2004 07:38:08 +0100
Am 12.12.2004 um 16:36 Uhr schrieb Jeremy Dronfield:
Whilst a search is going on, the user is thus able to tinker with the
controls which set search criteria. Disabling the interface seems a
clumsy solution, so this seems like a case for using locks.
As others have already mentioned, this is not a case for locks.
Instead you probably want to make a copy of the search criteria before
starting a search. Actually I would create a kind of search
class/object that holds it's own search criteria (as well as results
and possibly other data). That way you could even run more that one
search at a time.
If you don't want this, disabling the relevant controls would be the
way to go.
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden