Skip to content

Commit

Permalink
Make extensions public
Browse files Browse the repository at this point in the history
  • Loading branch information
nysander committed Sep 19, 2020
1 parent 35b3c77 commit df4b859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/UnicodeURL/String+Unicode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import Foundation
import CoreFoundation

extension String {
public extension String {
var isValidCharacterSequence: Bool {
let length = self.count
if length == 0 {
Expand Down
2 changes: 1 addition & 1 deletion Sources/UnicodeURL/URL+Unicode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit df4b859

Please sign in to comment.