Permalink
Browse files

ARC additions

additions to the original ARC conversion
  • Loading branch information...
1 parent 13da1d0 commit 9f19360a5ff3d1c3899a20c9db306dced0d79c5c @gamma committed Apr 3, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 PSStackedView/PSStackedViewController.m
@@ -676,8 +676,6 @@ - (void)handleVisibleChangeFromInitionalViewControllers:(NSArray *)initialContro
}
[self delegateIsNowVisibleViewController:(UIViewController *)obj];
}];
-
- [mutableFinalViewControllers release];
}
///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -800,7 +798,7 @@ - (void)handlePanFrom:(UIPanGestureRecognizer *)recognizer {
if (state == UIGestureRecognizerStateBegan) {
lastDragOffset_ = 0;
- initialVisibleViewControllers = [[self visibleViewControllers] retain];
+ initialVisibleViewControllers = [self visibleViewControllers];
}
NSInteger offset = translatedPoint.x - lastDragOffset_;
@@ -858,7 +856,7 @@ - (void)handlePanFrom:(UIPanGestureRecognizer *)recognizer {
[self alignStackAnimated:YES];
[self handleVisibleChangeFromInitionalViewControllers:initialVisibleViewControllers toFinalViewControllers:[self visibleViewControllers]];
- [initialVisibleViewControllers release]; initialVisibleViewControllers = nil;
+ initialVisibleViewControllers = nil;
}
}

0 comments on commit 9f19360

Please sign in to comment.