Skip to content

Commit

Permalink
No need to return a copy of the viewControllers as NSArray is Immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
urkle committed Mar 21, 2011
1 parent 1f0641d commit 017d552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/MGSplitViewController.m
Expand Up @@ -945,7 +945,7 @@ - (void)setSplitWidth:(float)width

- (NSArray *)viewControllers
{
return [[_viewControllers copy] autorelease];
return _viewControllers ;
}


Expand Down

0 comments on commit 017d552

Please sign in to comment.