summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthewsot@outlook.com>2014-08-10 18:26:37 -0700
committerMatthew Sotoudeh <matthewsot@outlook.com>2014-08-10 18:26:37 -0700
commit9d667cc392846069f08b1c7578364b4b82456d0c (patch)
tree3836afd4fa432318a0efb85afd084350b2359bdd
parent71ab3954414487c4eb42684238234c0ead53f168 (diff)
builds in Beta 5
-rw-r--r--DNSwift/DNSwift/StringExtensions.swift2
-rw-r--r--SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerable.swift2
-rw-r--r--SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerator.swift2
3 files changed, 3 insertions, 3 deletions
diff --git a/DNSwift/DNSwift/StringExtensions.swift b/DNSwift/DNSwift/StringExtensions.swift
index ad523dc..01818b5 100644
--- a/DNSwift/DNSwift/StringExtensions.swift
+++ b/DNSwift/DNSwift/StringExtensions.swift
@@ -15,7 +15,7 @@ public extension String {
return String(Array(self)[i]);
}
- public subscript (r: Range<Int>) -> String {
+ public subscript (r: Range<Int>) -> String { //TODO: tests are failing on this in XCode 6 B5, check it out
var start = advance(startIndex, r.startIndex);
var end = advance(startIndex, r.endIndex);
return substringWithRange(Range(start: start, end: end));
diff --git a/SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerable.swift b/SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerable.swift
index 35db353..21c97f1 100644
--- a/SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerable.swift
+++ b/SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerable.swift
@@ -1,7 +1,7 @@
import Foundation
//http://msdn.microsoft.com/en-us/library/9eekhta0%28v=vs.110%29.aspx
-public protocol IEnumerable: Sequence {
+public protocol IEnumerable: SequenceType {
//typealias T;
func GetEnumerator<IE where IE:IEnumerator>() -> IE;
diff --git a/SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerator.swift b/SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerator.swift
index 8cc5dd1..f43a00f 100644
--- a/SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerator.swift
+++ b/SystemCollectionsGeneric/SystemCollectionsGeneric/IEnumerator.swift
@@ -2,7 +2,7 @@ import Foundation
//http://msdn.microsoft.com/en-us/library/78dfe2yb%28v=vs.110%29.aspx
/*, IDisposable*/
-public protocol IEnumerator: Generator {
+public protocol IEnumerator: GeneratorType {
typealias T;
var Current: T { get }
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback