An extension to Swift's
Array type to add remove functionality
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate ArrayRemoveSwift into your Xcode project using CocoaPods, specify it in your
platform :ios, '8.3' use_frameworks! pod 'ArrayRemoveSwift', '~> 1.0.0'
Then, run the following command:
$ pod install
- Add the
Array+Remove.swiftfile to your Xcode project.
ViewController.swift for sample usage
removeObject function to remove the matching object from the array
let apple = "apple" var fruits: [String] =  fruits.append(apple) fruits.removeObject(apple)
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See the Code of Conduct file.
Array+Remove is released under the MIT License. See License.