From df4b859f7d551d937045aea596e353744e1c4f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Madej?= Date: Sat, 19 Sep 2020 21:03:58 +0200 Subject: [PATCH] Make extensions public --- Sources/UnicodeURL/String+Unicode.swift | 2 +- Sources/UnicodeURL/URL+Unicode.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/UnicodeURL/String+Unicode.swift b/Sources/UnicodeURL/String+Unicode.swift index 80b68ec..dea2573 100644 --- a/Sources/UnicodeURL/String+Unicode.swift +++ b/Sources/UnicodeURL/String+Unicode.swift @@ -6,7 +6,7 @@ import Foundation import CoreFoundation -extension String { +public extension String { var isValidCharacterSequence: Bool { let length = self.count if length == 0 { diff --git a/Sources/UnicodeURL/URL+Unicode.swift b/Sources/UnicodeURL/URL+Unicode.swift index 2a2f446..d20d590 100644 --- a/Sources/UnicodeURL/URL+Unicode.swift +++ b/Sources/UnicodeURL/URL+Unicode.swift @@ -6,7 +6,7 @@ import Foundation import IDNSDK -extension URL { +public extension URL { /// + (NSURL *)URLWithUnicodeString:(NSString *)str static func urlWithUnicodeString(str: String) -> Self { /// return [self URLWithUnicodeString:str error:nil];