Skip to content

use NSMutableArray instead of NSArray - #2

Open
tkanzakic wants to merge 1 commit into
jpellat:masterfrom
tkanzakic:patch-1
Open

tkanzakic wants to merge 1 commit into
jpellat:masterfrom
tkanzakic:patch-1

Conversation

@tkanzakic

Copy link
Copy Markdown

The JPSyncNavigationController is using a non-mutable object to store the list of child view controllers. I have changed the implementation to use a NSMutableArray instead as the implementation is more clear and avoid using arrayByAddingObject: that is an expensive method

The `JPSyncNavigationController` is using a non-mutable object to store the list of child view controllers. I have changed the implementation to use a `NSMutableArray` instead as the implementation is more clear and avoid using `arrayByAddingObject:` that is an expensive method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant