CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

ArrayRemoveSwift 1.0.1

ArrayRemoveSwift 1.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jan 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Daniela Dias, Shagun Madhikarmi.



  • By
  • Shagun Madhikarmi

Array+Remove

An extension to Swift’s Array type to add remove functionality

Dependencies

Installation

Manually

  • Add the Array+Remove.swift file to your Xcode project.

Usage

See ViewController.swift for sample usage

removeObject

Use the removeObject function to remove the matching object from the array

let apple = "apple"

var fruits: [String] = []
fruits.append(apple)
fruits.removeObject(apple)

Contributing

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.

Maintainers

Contact

[email protected]

License

Array+Remove is released under the MIT License. See License.