Declare <NSSplitViewDelegate> as a protocol instead of a category.

This commit is contained in:
ethanc8 2023-01-04 16:38:49 -06:00 committed by ethanc8
parent 24908dc0f3
commit affa447f7d

View file

@ -109,7 +109,13 @@ APPKIT_EXPORT_CLASS
@end
#endif
@protocol NSSplitViewDelegate <NSObject>
#if GS_PROTOCOLS_HAVE_OPTIONAL
@optional
#else
@end
@interface NSObject (NSSplitViewDelegate)
#endif
- (void) splitView: (NSSplitView *)sender
resizeSubviewsWithOldSize: (NSSize)oldSize;