DMSplitView
DMSplitView copied to clipboard
Message being sent to delegate when it should be sent to eventsDelegate
In the following method:
- (BOOL) setPositions:(NSArray *)newPositions ofDividersAtIndexes:(NSArray *)indexes animated:(BOOL) animated completitionBlock:(void (^)(BOOL isEnded)) completition
near the top of that method, you have the following:
if ([self.eventsDelegate respondsToSelector:@selector(splitView:splitViewIsAnimating:)])
[((id <DMSplitViewDelegate>)self.delegate) splitView:self splitViewIsAnimating:YES];
You should be sending the call to splitView:splitViewIsAnimating: to self.eventsDelegate, but you are actually sending it to self.delegate
Oh yeah, you also have the same line that needs to be fixed in in the completion handler inside that same method