File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11
11
12
12
@interface MGScopeBar : NSView {
13
13
@private
14
- IBOutlet id <MGScopeBarDelegate, NSObject > delegate; // weak ref.
14
+ __unsafe_unretained id <MGScopeBarDelegate, NSObject > delegate; // weak ref.
15
15
NSMutableArray *_separatorPositions; // x-coords of separators, indexed by their group-number.
16
16
NSMutableArray *_groups; // groups of items.
17
17
NSView *_accessoryView; // weak ref since it's a subview.
24
24
BOOL _smartResizeEnabled; // whether to do our clever collapsing/expanding of buttons when resizing (Smart Resizing).
25
25
}
26
26
27
- @property (strong ,nonatomic ) id delegate; // should implement the MGScopeBarDelegate protocol.
27
+ @property (unsafe_unretained ,nonatomic ) IBOutlet id delegate; // should implement the MGScopeBarDelegate protocol.
28
28
29
29
- (void )reloadData ; // causes the scope-bar to reload all groups/items from its delegate.
30
30
- (void )sizeToFit ; // only resizes vertically to optimum height; does not affect width.
You can’t perform that action at this time.
0 commit comments