Skip to content
This repository was archived by the owner on Nov 19, 2019. It is now read-only.

Commit 0590430

Browse files
author
Michael Ehrmann
committed
[FIX] fixing a delegate protocol warning
1 parent ddcbc6d commit 0590430

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/PSMTabBarControl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef enum PSMTabStateMask : NSUInteger {
6464

6565
@protocol PSMTabBarControlDelegate;
6666

67-
@interface PSMTabBarControl : NSControl {
67+
@interface PSMTabBarControl : NSControl <NSTabViewDelegate> {
6868

6969
// control basics
7070
NSMutableArray *_cells; // the cells that draw the tabs

Source/PSMTabBarControl.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ - (id)delegate {
462462
return delegate;
463463
}
464464

465-
- (void)setDelegate:(id)object {
465+
- (void)setDelegate:(id <PSMTabBarControlDelegate>)object {
466466
delegate = object;
467467

468468
NSMutableArray *types = [NSMutableArray arrayWithObject:@"PSMTabBarControlItemPBType"];

0 commit comments

Comments
 (0)