I want to import a file/class I created in the main project inside an Application Extension. How can I achieve that?
File inside my main project:
struct MyConstants {
static let = MaxChars = 100
}
In Share Extension:
import UIKit
import Social
class ShareViewController: SLComposeServiceViewController {
let maxCharactersAllowed = MyConstants.MaxChars // Basically what I want to do
}