Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道这一定很简单......但我搜索了大约 30 分钟但没有找到任何东西......你如何以编程方式选择 NSTextView 中的所有文本?感谢您的帮助马西
我找到了,我正在发布解决方案,以防其他人需要知道如何去做:
[myTextView selectAll:self];