CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jan 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Daniela Dias, Shagun Madhikarmi.
An extension to Swift’s Array
type to add remove functionality
Array+Remove.swift
file to your Xcode project.See ViewController.swift
for sample usage
Use the 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.