nscontrol

In OS X 10.10, can I implement an NSControl without an NSCell?

丶灬走出姿态 提交于 2019-12-03 03:57:44
I am learning about NSControl . I am aware that NSCell has begun its road to deprecation in OS X 10.10 Yosemite, and so I'd rather not use an API that is going away. Also, the NSControl Class Reference shows all cell accessors have been deprecated. I understand all this, but what is not as clear is what the recommended course is for people writing NSControl subclasses on 10.10. All of the Apple guides on the subject make no mention of the deprecation of NSCell . I suppose I could just do things the old way, but then I'd need to change my code when Apple advances the deprecation of NSCell to