Skip to content

TimeInterval -> NSTimeInterval #75

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
Mar 15, 2016

Conversation

briancroom
Copy link
Contributor

NSTimeInterval is already in use in some places from @modocache's async testing work. Now that we have the Foundation dependency, we should take advantage of it and use NSTimeInterval consistently instead of re-declaring our own.

@mike-ferris
Copy link

@swift-ci please test

@mike-ferris
Copy link

Cool.

#else
import Darwin
import SwiftFoundation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should borrow a page from swift-package-manager and extract these checks into a single location.

Something to consider for another pull request! ☝️

modocache added a commit that referenced this pull request Mar 15, 2016
@modocache modocache merged commit cc5dfd2 into swiftlang:master Mar 15, 2016
@modocache
Copy link
Contributor

The OS X check failed due to something in Foundation. I'm planning on taking a hard look at getting OS X CI working once and for all... 🔥

Thanks, @briancroom! 👍

@briancroom briancroom deleted the nstimeinterval branch March 16, 2016 02:46
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.

3 participants