Skip to content
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

remove Foundation #134

Merged
merged 18 commits into from
Mar 20, 2016
Merged

remove Foundation #134

merged 18 commits into from
Mar 20, 2016

Conversation

tanner0101
Copy link
Member

This branch is going to attempt to remove Foundation from Vapor so that we can support Swift 2.2

@tanner0101
Copy link
Member Author

Searching 61 files for "import Foundation"

/Users/tanner/Developer/vapor/vapor/Sources/Generator/main.swift:
    1: import Foundation
    2  
    3  let GENERIC_MAP = ["T", "U", "V", "W", "X"]

/Users/tanner/Developer/vapor/vapor/Sources/Vapor/Config/Config.swift:
    1: import Foundation
    2  
    3  extension NSData: SequenceType {

2 matches across 2 files

So close! @shnhrrsn how hard will it be to remove Foundation from your Config code?

@tanner0101
Copy link
Member Author

@shnhrrsn I have made a FileManager class that has readBytesFromFile and fileExistsAtPath. That should be all you need.

tanner0101 added a commit that referenced this pull request Mar 20, 2016
@tanner0101 tanner0101 merged commit a37996a into master Mar 20, 2016
@tanner0101 tanner0101 deleted the foundation-free branch March 20, 2016 16:15
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.

None yet

2 participants