From 6ee3239a82a75c8f74cfc4551740aac2e5a9dd47 Mon Sep 17 00:00:00 2001 From: Daniel Bauke Date: Wed, 3 Jun 2015 10:10:36 +0200 Subject: [PATCH] Changed extensions accessibility to public --- ExSwift/Array.swift | 2 +- ExSwift/Bool.swift | 2 +- ExSwift/Character.swift | 2 +- ExSwift/Dictionary.swift | 2 +- ExSwift/ExSwift.swift | 2 +- ExSwift/Range.swift | 2 +- ExSwift/Sequence.swift | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ExSwift/Array.swift b/ExSwift/Array.swift index 80287d5..b0d4ccc 100644 --- a/ExSwift/Array.swift +++ b/ExSwift/Array.swift @@ -8,7 +8,7 @@ import Foundation -internal extension Array { +public extension Array { private var indexesInterval: HalfOpenInterval { return HalfOpenInterval(0, self.count) } diff --git a/ExSwift/Bool.swift b/ExSwift/Bool.swift index 7071efe..d7a9377 100644 --- a/ExSwift/Bool.swift +++ b/ExSwift/Bool.swift @@ -15,4 +15,4 @@ extension Bool { return self } -} \ No newline at end of file +} diff --git a/ExSwift/Character.swift b/ExSwift/Character.swift index e3f0c11..622f3c1 100644 --- a/ExSwift/Character.swift +++ b/ExSwift/Character.swift @@ -18,4 +18,4 @@ public extension Character { return String(self).toInt() } -} \ No newline at end of file +} diff --git a/ExSwift/Dictionary.swift b/ExSwift/Dictionary.swift index 671026a..2d4f719 100644 --- a/ExSwift/Dictionary.swift +++ b/ExSwift/Dictionary.swift @@ -9,7 +9,7 @@ import Foundation import Swift -internal extension Dictionary { +public extension Dictionary { /** Difference of self and the input dictionaries. diff --git a/ExSwift/ExSwift.swift b/ExSwift/ExSwift.swift index 82c5dc0..f7fb93f 100644 --- a/ExSwift/ExSwift.swift +++ b/ExSwift/ExSwift.swift @@ -208,7 +208,7 @@ public class ExSwift { :param: ignoreCase If true the NSRegularExpression is created with the NSRegularExpressionOptions.CaseInsensitive flag :returns: NSRegularExpression object */ - internal class func regex (pattern: String, ignoreCase: Bool = false) -> NSRegularExpression? { + public class func regex (pattern: String, ignoreCase: Bool = false) -> NSRegularExpression? { var options = NSRegularExpressionOptions.DotMatchesLineSeparators.rawValue diff --git a/ExSwift/Range.swift b/ExSwift/Range.swift index 051368d..c8153eb 100644 --- a/ExSwift/Range.swift +++ b/ExSwift/Range.swift @@ -8,7 +8,7 @@ import Foundation -internal extension Range { +public extension Range { /** For each element in the range invokes function. diff --git a/ExSwift/Sequence.swift b/ExSwift/Sequence.swift index 6aa19b3..1ab0ff0 100644 --- a/ExSwift/Sequence.swift +++ b/ExSwift/Sequence.swift @@ -8,7 +8,7 @@ import Foundation -internal extension SequenceOf { +public extension SequenceOf { /** First element of the sequence.