Skip to content

use NSMutableArray instead of NSArray#2

Open
tkanzakic wants to merge 1 commit intojpellat:masterfrom
tkanzakic:patch-1
Open

use NSMutableArray instead of NSArray#2
tkanzakic wants to merge 1 commit intojpellat:masterfrom
tkanzakic:patch-1

Conversation

@tkanzakic
Copy link

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