sauliusgrigaitis / Swifton

A Ruby on Rails inspired Web Framework for Swift that runs on Linux and OS X
MIT License
1.97k stars 70 forks source link

Reliance on Foundation in MimeType.swift #23

Closed califrench closed 8 years ago

califrench commented 8 years ago

Is it normal that we are importing Foundation in MimeType.swift? This should be a platform agnostic framework and I'm not even sure why we need Foundation in that source file.

sauliusgrigaitis commented 8 years ago

@califrench Swifton uses features of Foundation, so it's platform agnostic framework. But I cleaned MimeType.swift, because that Foundation isn't actually used in Swifton