Skip to content

Commit

Permalink
Fix Swift build after upgrading to Xcode 7b6
Browse files Browse the repository at this point in the history
  • Loading branch information
glebd committed Aug 26, 2015
1 parent d38dd66 commit 2fe000b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift/CocoaFob/CocoaFobStringExt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extension String {

var index = 5
while index < key.utf8.count {
key.splice(["-"], atIndex: advance(key.startIndex, index))
key.insertContentsOf(["-"], at: key.startIndex.advancedBy(index))
index += 6
}

Expand Down

0 comments on commit 2fe000b

Please sign in to comment.