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.
如何NSBox以isHidden:YES|NO编程方式将 a 更改为?
NSBox
isHidden:YES|NO
NSView 的任何子类都会响应该setHidden:方法,因此要更改它只需调用
setHidden:
[box setHidden:YES];