Skip to content

Commit

Permalink
💻 macOS compatibility with Binding operators
Browse files Browse the repository at this point in the history
  • Loading branch information
benlmyers committed Nov 15, 2021
1 parent ce4d8dc commit 568c60d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/BetterBinding/BetterBinding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Ben Myers on 6/22/21.
//

#if os(iOS)
import SwiftUI

prefix operator %
Expand Down Expand Up @@ -92,5 +91,3 @@ public prefix func ! <T>(lhs: Binding<Optional<T>>) -> Binding<T> {
public prefix func % <T>(lhs: T) -> Binding<T> {
return .constant(lhs)
}

#endif

0 comments on commit 568c60d

Please sign in to comment.