Skip to content

Commit d154f95

Browse files
committed
• SSYSidebarController.sidebarLength is now public, readonly.
1 parent cf36fa9 commit d154f95

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

SSYSidebarController.h

+11
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,17 @@ IB_DESIGNABLE
8080
@property (assign) IBOutlet NSView* mainView;
8181
@property (assign) IBOutlet NSView* sidebarView;
8282

83+
/*!
84+
@brief The length of the variable-length perimeter segment (width or
85+
height) of the receiver's sidebar view, grabbed during -awakeFromNib, before
86+
it is collapsed to 0.0.
87+
88+
@details You may need this for layout calculations, because the order in
89+
which Cocoa sends -awakeFromNib to objects in a nib is indeterminate.
90+
*/
91+
@property (assign, readonly) CGFloat sidebarLength;
92+
93+
8394
/*!
8495
@details The values of this property must be one of the values of the enum
8596
SSYSidebarControllerWhichEdge. Unfortunately, as of Xcode 8.2, Interface

0 commit comments

Comments
 (0)