• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Seeking advice on NSLock usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Seeking advice on NSLock usage
      • From: Jeremy Dronfield <email@hidden>
References: 
 >Seeking advice on NSLock usage (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: unmountAndEjectDeviceAtPath problems
  • Next by Date: RE: How can I implement labels without the overhead of an NSTextField?
  • Previous by thread: Re: Seeking advice on NSLock usage
  • Next by thread: Re: Seeking advice on NSLock usage
  • Index(es):
    • Date
    • Thread