Commit 960e3780 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: expand the documentation for our single (known) private API use

parent d31d2c21
...@@ -430,10 +430,11 @@ ...@@ -430,10 +430,11 @@
@end @end
/***************************************************************************** /*****************************************************************************
* extension to NSOutlineView's interface to fix compilation warnings * An extension to NSOutlineView's interface to fix compilation warnings
* and let us access these 2 functions properly * and let us access these 2 functions properly.
* this uses a private Apple-API, but works fine on all current OSX releases * This uses a private API, but works fine on all current OSX releases.
* keep checking for compatiblity with future releases though * Radar ID 11739459 request a public API for this. However, it is probably
* easier and faster to recreate similar looking bitmaps ourselves.
*****************************************************************************/ *****************************************************************************/
@interface NSOutlineView (UndocumentedSortImages) @interface NSOutlineView (UndocumentedSortImages)
...@@ -498,9 +499,9 @@ ...@@ -498,9 +499,9 @@
@"VLCPlaylistItemPboardType", nil]]; @"VLCPlaylistItemPboardType", nil]];
[o_outline_view_other setIntercellSpacing: NSMakeSize (0.0, 1.0)]; [o_outline_view_other setIntercellSpacing: NSMakeSize (0.0, 1.0)];
/* This uses private Apple API which works fine until 10.5. /* This uses a private API, but works fine on all current OSX releases.
* We need to keep checking in the future! * Radar ID 11739459 request a public API for this. However, it is probably
* These methods are being added artificially to NSOutlineView's interface above */ * easier and faster to recreate similar looking bitmaps ourselves. */
o_ascendingSortingImage = [[NSOutlineView class] _defaultTableHeaderSortImage]; o_ascendingSortingImage = [[NSOutlineView class] _defaultTableHeaderSortImage];
o_descendingSortingImage = [[NSOutlineView class] _defaultTableHeaderReverseSortImage]; o_descendingSortingImage = [[NSOutlineView class] _defaultTableHeaderReverseSortImage];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment