yonat / SweeterSwift

Extensions and syntactic sugar to enrich the Swift standard library, iOS frameworks, and SwifterSwift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foundation import needed

netizen01 opened this issue · comments

Cannot compile when used as a dependency in a project.
Swift+Sweeter.swift recently added some references to "IndexSet" and "CharacterSet" which are not native swift types, and are declared in Foundation.

Adding:
import Foundation
to the top of the file fixes the issue.