Attempts to acquire a lock before a given time and returns a Boolean value indicating whether the attempt was successful.
Original signature is '- (BOOL)lockBeforeDate:(NSDate *)limit'
Available in Mac OS X v10.0 and later.
- limit (NSDate)
- The time limit for attempting to acquire a lock.
YES if the lock is acquired before limit, otherwise NO.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)