diff --git a/Source/Snap.swift b/Source/Snap.swift index c083faa..ce972de 100644 --- a/Source/Snap.swift +++ b/Source/Snap.swift @@ -20,3 +20,20 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. + +#if os(iOS) +import UIKit +typealias InterfaceLayoutDirection = UIUserInterfaceLayoutDirection +#else +import AppKit +typealias InterfaceLayoutDirection = NSUserInterfaceLayoutDirection +#endif + +/** + * Config that can be used to configure Snap + */ +public struct Config { + + public static var interfaceLayoutDirection = InterfaceLayoutDirection.LeftToRight + +} \ No newline at end of file