Skip to content

Update NSIndexSet enumeration snippets to Swift #55

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

Merged
merged 1 commit into from
Dec 7, 2015
Merged

Update NSIndexSet enumeration snippets to Swift #55

merged 1 commit into from
Dec 7, 2015

Conversation

christopherweems
Copy link
Contributor

The code snippets in NSIndexSet's comments are currently written in Objective-C. Even though this code does not execute on Swift Foundation, I have tried it with Foundation on OS X in a playground and it executes as you would expect from the Obj-C snippet.

@phausler
Copy link
Contributor

phausler commented Dec 7, 2015

Actually we should probably update the comments in the objective-c Foundation to have both objc and swift examples for not just this but all examples.

phausler added a commit that referenced this pull request Dec 7, 2015
Update NSIndexSet enumeration snippets to Swift
@phausler phausler merged commit 5893bfa into swiftlang:master Dec 7, 2015
@christopherweems christopherweems deleted the patch-1 branch December 7, 2015 10:47
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
Use the SwiftPM overrides consistently
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.

2 participants