Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
calda committed Jun 29, 2023
1 parent c9cc472 commit 3c39a16
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:

jobs:
build-package:
runs-on: macos-latest
strategy:
runs-on: macos-latest
matrix:
xcode:
- '13.2.1' # Swift 5.5 (lowest)
Expand All @@ -27,7 +27,8 @@ jobs:
strategy:
matrix:
xcode:
- '14.3.1' # Swift 5.8
- '13.2.1' # Swift 5.5 (lowest)
- '14.0.1' # Swift 5.7 (highest)
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
Expand Down
2 changes: 1 addition & 1 deletion Sources/EpoxyCore/SwiftUI/UIView+SwiftUIView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ extension ViewTypeProtocol {
/// A protocol that all `UIView`s conform to, enabling extensions that have a `Self` reference.
public protocol ViewTypeProtocol: ViewType { }

// MARK: - ViewType + UIViewProtocol
// MARK: - ViewType + ViewTypeProtocol

extension ViewType: ViewTypeProtocol { }
1 change: 1 addition & 0 deletions Sources/EpoxyCore/Views/ViewType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ extension ViewRepresentableType {
/// Either `UIViewType` on iOS/tvOS or `NSViewType` on macOS.
public typealias RepresentableViewType = UIViewType
}

#elseif os(macOS)
import AppKit

Expand Down

0 comments on commit 3c39a16

Please sign in to comment.