Skip to content

Commit

Permalink
FoundationNetworking compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasvergoz committed Nov 28, 2024
1 parent 581c691 commit 7e998a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/DearAppsAPI.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

public actor DearAppsAPI {

Expand Down
3 changes: 3 additions & 0 deletions Tests/DearAppsTests/DearAppsTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import XCTest
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
@testable import DearApps

final class DearAppsTests: XCTestCase {
Expand Down

0 comments on commit 7e998a8

Please sign in to comment.