NSButton, NSControl, NSTextField, NSView, NSWindow, NSProcessInfo, NSResponder migrated form old code
update samples
deal with some classes as return type