Sets the origin of the view’s frame rectangle to the specified point, effectively repositioning it within its superview.
- macOS 10.0+
The point that is the new origin of the view's frame.
Changing the frame does not mark the view as needing to be displayed. Set the
needs property to
YES when you want the view to be redisplayed.
Changing the frame origin results in the posting of an
NSView to the default notification center if the view is configured to do so.