0

I have seen an app on OSX that show as below: enter image description here

And i can see the control structure by the UIElementInspect tool.

enter image description here

From the screenshot, we can see that there is a big NSTextField, and it has so many small sub NSTextField, each sub NSTextField can be clicked, edit and remove by mouse or key event. I want to implement the same function, but i can not put a NSTextField to the subview of another NSTextField. Who can tell me how to implement the similar function.

Daniyar
  • 2,975
  • 2
  • 26
  • 39
jimwan
  • 1,086
  • 2
  • 24
  • 39
  • Take a look at this https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/TokenField_Guide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40006555 – Daniyar Nov 06 '15 at 10:02
  • @Astoria Thank you very much, it helps me – jimwan Nov 06 '15 at 10:17

0 Answers0