Skip to content

failed to work on xCode 7 stand alone swift file #107

@Fred-J

Description

@Fred-J

On xCode 7.1.1, open a stand alone .swift file not in a project.
typing
let replacement = (fullPath as NSString).
looking for
stringByReplacingOccurrencesOfString
but it is no where to be found.
desired output is:
let replacement = (fullPath as NSString).stringByReplacingOccurrencesOfString(oldName, withString: newName)

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