I know how to create a NSTextField programmatically in Xcode, but what I want to know is how do I move this around 开发者_如何学Pythonthe window?
How do I move an NSTextField from point A to point B?
NSTextField inherits from NSView, which means the way you set its location is with setFrame:
.
Take a look at the View Programming Guide for a full explanation of the concepts of a view's frame & bounds.
精彩评论