Locks the focus to the view atomically if the
can method returns
YES and returns the value of
- macOS 10.0–10.14Deprecated
Your thread will not be preempted by other threads between the
can method and the lock. This method fails to lock focus and returns
NO, when the view is hidden and the current context is drawing to the screen (as opposed to a printing context).