DMSplitView icon indicating copy to clipboard operation
DMSplitView copied to clipboard

Message being sent to delegate when it should be sent to eventsDelegate

Open chrismcs opened this issue 11 years ago • 1 comments

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

chrismcs avatar Apr 07 '14 20:04 chrismcs

Oh yeah, you also have the same line that needs to be fixed in in the completion handler inside that same method

chrismcs avatar Apr 07 '14 20:04 chrismcs