TextCheckingResult fix

This commit is contained in:
Nabil Chatbi 2016-12-27 19:02:26 +01:00
parent b881c864f5
commit 93f8f80cbf
1 changed files with 2 additions and 2 deletions

View File

@ -64,13 +64,13 @@ public struct Pattern {
public class Matcher
{
let matches :[NSTextCheckingResult]
let matches :[NCTextCheckingResult]
let string : String
var index : Int = -1
public var count : Int { return matches.count}
init(_ m:[NSTextCheckingResult],_ s: String)
init(_ m:[NCTextCheckingResult],_ s: String)
{
matches = m
string = s