Locks the focus to the view atomically if drawing can occur in the specified graphics context.
Deprecated
This method does nothing and should never be called. There is no replacement.
SDK
- macOS 10.4–10.13Deprecated
Framework
- App
Kit
Declaration
- (BOOL)lockFocusIfCanDrawInContext:(NSGraphics Context *)context;
Parameters
context
The graphics context in which drawing might occur. See the discussion for the implications of the type of context.
Return Value
YES
if successful; otherwise, returns NO
.