From 2c797dd704b29331dfd2704ba48f29792f6f49dd Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 23 Jul 2012 22:16:47 +0000 Subject: - Attempt to address startup exceptions on 10.5 by fixing NSSplitView awakeFromNib checks --- Source/SPSplitView.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/SPSplitView.m') diff --git a/Source/SPSplitView.m b/Source/SPSplitView.m index 87392712..51e3eb79 100644 --- a/Source/SPSplitView.m +++ b/Source/SPSplitView.m @@ -92,7 +92,9 @@ - (void)awakeFromNib { - [super awakeFromNib]; + if ([super respondsToSelector:@selector(awakeFromNib)]) { + [super awakeFromNib]; + } delegate = [super delegate]; [super setDelegate:self]; -- cgit v1.2.3