Skip to content

Commit

Permalink
Only import WatchKit if running on watchOS (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugiacoman authored and torchhound committed Jul 10, 2019
1 parent 62806ea commit 43deb88
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

import Foundation

#if os(iOS) || os(watchOS)
#if os(iOS)
import UIKit
#elseif os(watchOS)
import WatchKit
#elseif os(OSX)
import AppKit
Expand Down

0 comments on commit 43deb88

Please sign in to comment.