Skip to content

[WIP] Implement NSRangeFromString #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed

[WIP] Implement NSRangeFromString #8

wants to merge 6 commits into from

Conversation

harlanhaskins
Copy link
Contributor

This is an initial implementation of NSRangeFromString that attempts to replicate the behavior of standard Foundation.

I'm still in the middle of setting up Xcode 7.2 for this version of Foundation, so I can't test this right away. This'll be a WIP until I can.

@harlanhaskins
Copy link
Contributor Author

Well, it works fine using Obj-C's foundation, but it relies heavily on componentsSeparatedByCharactersInString.

Implemented NSString.componentsSeparatedByString and NSString.componentsSeparatedByCharactersInSet
@harlanhaskins
Copy link
Contributor Author

Closing because there are certainly better ways to do all of this.

atrick pushed a commit to atrick/swift-corelibs-foundation that referenced this pull request Jan 12, 2021
kateinoigakukun pushed a commit to kateinoigakukun/swift-corelibs-foundation that referenced this pull request Apr 29, 2021
Configure a user.name and user.email before committing
kateinoigakukun pushed a commit to kateinoigakukun/swift-corelibs-foundation that referenced this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant