Array extension to remove object by value
extension Array { func removeObject<T where T : Equatable>(object: T) { var index = find(self, object) self.removeAtIndex(index) } } However, I get an error on var in...