No description or website provided.
Swift Ruby
Latest commit 3ecccca Jan 23, 2017 @madhikarma madhikarma Updated version

README.md

License Build Status codecov.io

Array+Remove

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

Dependencies

Installation

CocoaPods

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 Podfile:

platform :ios, '8.3'

use_frameworks!

pod 'ArrayRemoveSwift', '~> 1.0.0'

Then, run the following command:

$ pod install

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

open.source@ustwo.com

License

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