Skip to content

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