Comment on "
Odds and Ends for Oct.21.06
"
by
Scott Stevenson
— Oct 21
Why would someone even suggest using these in shipping code?
Using undocumented code is sort of a black art. Or is it a gray area? Anyway, it's not pure white. It is, however, the only way to pull certain things off.
For example, if you want to use
drag-and-drop in a NSOutlineView
which uses NSTreeController, you have to use private API.
Is it better to omit a vital feature, or simply change your code if the underlying API every changes?
Back to "
Odds and Ends for Oct.21.06
"
Copyright © Scott Stevenson 2004-2015
by Scott Stevenson — Oct 21
Using undocumented code is sort of a black art. Or is it a gray area? Anyway, it's not pure white. It is, however, the only way to pull certain things off.
For example, if you want to use drag-and-drop in a NSOutlineView which uses NSTreeController, you have to use private API.
Is it better to omit a vital feature, or simply change your code if the underlying API every changes?