Skip to content

[NSArray indexesOfObjectsPassingTest:] doesn't exist in Swift #113

@nickasd

Description

@nickasd

It could be translated to IndexSet(array.enumerated().filter { true }.map { $0.offset }).
http://swiftify.me/qb8r27

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions