From 9307e7c3a66a1ee6bcdf8befc8af42713b3e4588 Mon Sep 17 00:00:00 2001 From: "nicolas.goutaland" Date: Wed, 12 Sep 2018 11:31:53 +0200 Subject: [PATCH] GONMarkupParserUtils optimisation --- CHANGELOG.md | 2 + Classes/GONMarkupParserUtils.m | 1949 +++++++++-------- .../project.pbxproj | 131 +- .../xcshareddata/IDEWorkspaceChecks.plist | 8 + Example/Podfile.lock | 15 +- GONMarkupParser.podspec | 2 +- README.md | 22 +- 7 files changed, 1026 insertions(+), 1103 deletions(-) create mode 100644 Example/GONMarkupParserSample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/CHANGELOG.md b/CHANGELOG.md index 55f5f62..71a0f29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # Change Log +## [__0.7.8__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.8) +GONMarkupParserUtils optimisation
## [__0.7.7__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.7) Fixed sample Podfile
## [__0.7.6__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.6) diff --git a/Classes/GONMarkupParserUtils.m b/Classes/GONMarkupParserUtils.m index c8484f4..622bbd1 100644 --- a/Classes/GONMarkupParserUtils.m +++ b/Classes/GONMarkupParserUtils.m @@ -10,20 +10,26 @@ #import "GONMarkupParserUtils.h" #import "GONMarkupParserManager.h" +#define HTML_ENTITY_REGEX @"&#?[a-zA-Z0-9]+;" + @implementation GONMarkupParserUtils #pragma mark - Utils + (void)cleanHTMLEntitiesFromString:(NSMutableString *)inputString { - for (NSDictionary *htmlEntities in @[dicHTMLEntities, dicDecHTMLEntities, dicHexaHTMLEntities]) - { - for (NSString *htmlEntity in [htmlEntities allKeys]) - { - [inputString replaceOccurrencesOfString:htmlEntity - withString:[htmlEntities objectForKey:htmlEntity] - options:0 - range:NSMakeRange(0, inputString.length)]; - } - } + static NSRegularExpression *regex = nil; + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + regex = [NSRegularExpression regularExpressionWithPattern:HTML_ENTITY_REGEX + options:0 + error:nil]; + }); + + [regex enumerateMatchesInString:[inputString copy] + options:0 + range:NSMakeRange(0, inputString.length) + usingBlock:^(NSTextCheckingResult * _Nullable result, NSMatchingFlags flags, BOOL * _Nonnull stop) { + [inputString replaceCharactersInRange:result.range withString:[dicEntities objectForKey:[inputString substringWithRange:result.range]]]; + }]; } + (NSAttributedString *)attributedString:(GONMarkupParser *)parser @@ -35,10 +41,10 @@ + (NSAttributedString *)attributedString:(GONMarkupParser *)parser GONMarkupParser *selectedParser = parser; if (!selectedParser) selectedParser = [GONMarkupParserManager sharedParser]; - + // Hold initial default configuration NSDictionary *defaultConfiguration = [selectedParser.defaultConfiguration copy]; - + // Check if parser has default configuration for color / font / alignment. If not, use default configuration // Text color if (![selectedParser.defaultConfiguration objectForKey:NSForegroundColorAttributeName]) @@ -46,14 +52,14 @@ + (NSAttributedString *)attributedString:(GONMarkupParser *)parser [selectedParser.defaultConfiguration setObject:(defaultColor ? defaultColor : [UIColor blackColor]) forKey:NSForegroundColorAttributeName]; } - + // Font if (![selectedParser.defaultConfiguration objectForKey:NSFontAttributeName] && defaultFont) { [selectedParser.defaultConfiguration setObject:defaultFont forKey:NSFontAttributeName]; } - + // Alignment if (![selectedParser.defaultConfiguration objectForKey:NSParagraphStyleAttributeName]) { @@ -62,7 +68,7 @@ + (NSAttributedString *)attributedString:(GONMarkupParser *)parser [selectedParser.defaultConfiguration setObject:paragraphStyle forKey:NSParagraphStyleAttributeName]; } - + // Compute attributed string NSAttributedString *attributedString = [selectedParser attributedStringFromString:inputString error:nil]; @@ -71,7 +77,7 @@ + (NSAttributedString *)attributedString:(GONMarkupParser *)parser [selectedParser.defaultConfiguration removeAllObjects]; [selectedParser.defaultConfiguration addEntriesFromDictionary:defaultConfiguration]; - + return attributedString; } @@ -79,970 +85,965 @@ + (NSAttributedString *)attributedString:(GONMarkupParser *)parser static NSDictionary *dicHTMLEntities; static NSDictionary *dicDecHTMLEntities; static NSDictionary *dicHexaHTMLEntities; +static NSDictionary *dicEntities; + (void)initialize { [super initialize]; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ - dicHTMLEntities = @{ - @""" : @"\"", - @"&" : @"&", - @"'" : @"'", - @"<" : @"<", - @">" : @">", - @" " : @"\u00A0", - @"¡" : @"\u00A1", - @"¢" : @"\u00A2", - @"£" : @"\u00A3", - @"¤" : @"\u00A4", - @"¥" : @"\u00A5", - @"¦" : @"\u00A6", - @"§" : @"\u00A7", - @"¨" : @"\u00A8", - @"©" : @"\u00A9", - @"ª" : @"\u00AA", - @"«" : @"\u00AB", - @"¬" : @"\u00AC", - @"­" : @"\u00AD", - @"®" : @"\u00AE", - @"¯" : @"\u00AF", - @"°" : @"\u00B0", - @"±" : @"\u00B1", - @"²" : @"\u00B2", - @"³" : @"\u00B3", - @"´" : @"\u00B4", - @"µ" : @"\u00B5", - @"¶" : @"\u00B6", - @"·" : @"\u00B7", - @"¸" : @"\u00B8", - @"¹" : @"\u00B9", - @"º" : @"\u00BA", - @"»" : @"\u00BB", - @"¼" : @"\u00BC", - @"½" : @"\u00BD", - @"¾" : @"\u00BE", - @"¿" : @"\u00BF", - @"À" : @"\u00C0", - @"Á" : @"\u00C1", - @"Â" : @"\u00C2", - @"Ã" : @"\u00C3", - @"Ä" : @"\u00C4", - @"Å" : @"\u00C5", - @"Æ" : @"\u00C6", - @"Ç" : @"\u00C7", - @"È" : @"\u00C8", - @"É" : @"\u00C9", - @"Ê" : @"\u00CA", - @"Ë" : @"\u00CB", - @"Ì" : @"\u00CC", - @"Í" : @"\u00CD", - @"Î" : @"\u00CE", - @"Ï" : @"\u00CF", - @"Ð" : @"\u00D0", - @"Ñ" : @"\u00D1", - @"Ò" : @"\u00D2", - @"Ó" : @"\u00D3", - @"Ô" : @"\u00D4", - @"Õ" : @"\u00D5", - @"Ö" : @"\u00D6", - @"×" : @"\u00D7", - @"Ø" : @"\u00D8", - @"Ù" : @"\u00D9", - @"Ú" : @"\u00DA", - @"Û" : @"\u00DB", - @"Ü" : @"\u00DC", - @"Ý" : @"\u00DD", - @"Þ" : @"\u00DE", - @"ß" : @"\u00DF", - @"à" : @"\u00E0", - @"á" : @"\u00E1", - @"â" : @"\u00E2", - @"ã" : @"\u00E3", - @"ä" : @"\u00E4", - @"å" : @"\u00E5", - @"æ" : @"\u00E6", - @"ç" : @"\u00E7", - @"è" : @"\u00E8", - @"é" : @"\u00E9", - @"ê" : @"\u00EA", - @"ë" : @"\u00EB", - @"ì" : @"\u00EC", - @"í" : @"\u00ED", - @"î" : @"\u00EE", - @"ï" : @"\u00EF", - @"ð" : @"\u00F0", - @"ñ" : @"\u00F1", - @"ò" : @"\u00F2", - @"ó" : @"\u00F3", - @"ô" : @"\u00F4", - @"õ" : @"\u00F5", - @"ö" : @"\u00F6", - @"÷" : @"\u00F7", - @"ø" : @"\u00F8", - @"ù" : @"\u00F9", - @"ú" : @"\u00FA", - @"û" : @"\u00FB", - @"ü" : @"\u00FC", - @"ý" : @"\u00FD", - @"þ" : @"\u00FE", - @"ÿ" : @"\u00FF", - @"Œ" : @"\u0152", - @"œ" : @"\u0153", - @"Š" : @"\u0160", - @"š" : @"\u0161", - @"Ÿ" : @"\u0178", - @"ƒ" : @"\u0192", - @"ˆ" : @"\u02C6", - @"˜" : @"\u02DC", - @"Α" : @"\u0391", - @"Β" : @"\u0392", - @"Γ" : @"\u0393", - @"Δ" : @"\u0394", - @"Ε" : @"\u0395", - @"Ζ" : @"\u0396", - @"Η" : @"\u0397", - @"Θ" : @"\u0398", - @"Ι" : @"\u0399", - @"Κ" : @"\u039A", - @"Λ" : @"\u039B", - @"Μ" : @"\u039C", - @"Ν" : @"\u039D", - @"Ξ" : @"\u039E", - @"Ο" : @"\u039F", - @"Π" : @"\u03A0", - @"Ρ" : @"\u03A1", - @"Σ" : @"\u03A3", - @"Τ" : @"\u03A4", - @"Υ" : @"\u03A5", - @"Φ" : @"\u03A6", - @"Χ" : @"\u03A7", - @"Ψ" : @"\u03A8", - @"Ω" : @"\u03A9", - @"α" : @"\u03B1", - @"β" : @"\u03B2", - @"γ" : @"\u03B3", - @"δ" : @"\u03B4", - @"ε" : @"\u03B5", - @"ζ" : @"\u03B6", - @"η" : @"\u03B7", - @"θ" : @"\u03B8", - @"ι" : @"\u03B9", - @"κ" : @"\u03BA", - @"λ" : @"\u03BB", - @"μ" : @"\u03BC", - @"ν" : @"\u03BD", - @"ξ" : @"\u03BE", - @"ο" : @"\u03BF", - @"π" : @"\u03C0", - @"ρ" : @"\u03C1", - @"ς" : @"\u03C2", - @"σ" : @"\u03C3", - @"τ" : @"\u03C4", - @"υ" : @"\u03C5", - @"φ" : @"\u03C6", - @"χ" : @"\u03C7", - @"ψ" : @"\u03C8", - @"ω" : @"\u03C9", - @"ϑ" : @"\u03D1", - @"ϒ" : @"\u03D2", - @"ϖ" : @"\u03D6", - @" " : @"\u2002", - @" " : @"\u2003", - @" " : @"\u2009", - @"‌" : @"\u200C", - @"‍" : @"\u200D", - @"‎" : @"\u200E", - @"‏" : @"\u200F", - @"–" : @"\u2013", - @"—" : @"\u2014", - @"‘" : @"\u2018", - @"’" : @"\u2019", - @"‚" : @"\u201A", - @"“" : @"\u201C", - @"”" : @"\u201D", - @"„" : @"\u201E", - @"†" : @"\u2020", - @"‡" : @"\u2021", - @"•" : @"\u2022", - @"…" : @"\u2026", - @"‰" : @"\u2030", - @"′" : @"\u2032", - @"″" : @"\u2033", - @"‹" : @"\u2039", - @"›" : @"\u203A", - @"‾" : @"\u203E", - @"⁄" : @"\u2044", - @"€" : @"\u20AC", - @"ℑ" : @"\u2111", - @"℘" : @"\u2118", - @"ℜ" : @"\u211C", - @"™" : @"\u2122", - @"ℵ" : @"\u2135", - @"←" : @"\u2190", - @"↑" : @"\u2191", - @"→" : @"\u2192", - @"↓" : @"\u2193", - @"↔" : @"\u2194", - @"↵" : @"\u21B5", - @"⇐" : @"\u21D0", - @"⇑" : @"\u21D1", - @"⇒" : @"\u21D2", - @"⇓" : @"\u21D3", - @"⇔" : @"\u21D4", - @"∀" : @"\u2200", - @"∂" : @"\u2202", - @"∃" : @"\u2203", - @"∅" : @"\u2205", - @"∇" : @"\u2207", - @"∈" : @"\u2208", - @"∉" : @"\u2209", - @"∋" : @"\u220B", - @"∏" : @"\u220F", - @"∑" : @"\u2211", - @"−" : @"\u2212", - @"∗" : @"\u2217", - @"√" : @"\u221A", - @"∝" : @"\u221D", - @"∞" : @"\u221E", - @"∠" : @"\u2220", - @"∧" : @"\u2227", - @"∨" : @"\u2228", - @"∩" : @"\u2229", - @"∪" : @"\u222A", - @"∫" : @"\u222B", - @"∴" : @"\u2234", - @"∼" : @"\u223C", - @"≅" : @"\u2245", - @"≈" : @"\u2248", - @"≠" : @"\u2260", - @"≡" : @"\u2261", - @"≤" : @"\u2264", - @"≥" : @"\u2265", - @"⊂" : @"\u2282", - @"⊃" : @"\u2283", - @"⊄" : @"\u2284", - @"⊆" : @"\u2286", - @"⊇" : @"\u2287", - @"⊕" : @"\u2295", - @"⊗" : @"\u2297", - @"⊥" : @"\u22A5", - @"⋅" : @"\u22C5", - @"⋮" : @"\u22EE", - @"⌈" : @"\u2308", - @"⌉" : @"\u2309", - @"⌊" : @"\u230A", - @"⌋" : @"\u230B", - @"⟨" : @"\u2329", - @"⟩" : @"\u232A", - @"◊" : @"\u25CA", - @"♠" : @"\u2660", - @"♣" : @"\u2663", - @"♥" : @"\u2665", - @"♦" : @"\u2666" - }; - dicDecHTMLEntities = @{ - @" " : @" ", - @"!" : @"!", - @""" : @"\"", - @"#" : @"#", - @"$" : @"$", - @"%" : @"%", - @"&" : @"&", - @"'" : @"'", - @"(" : @"(", - @")" : @")", - @"*" : @"*", - @"+" : @"+", - @"," : @",", - @"-" : @"-", - @"." : @".", - @"/" : @"/", - @"0" : @"0", - @"1" : @"1", - @"2" : @"2", - @"3" : @"3", - @"4" : @"4", - @"5" : @"5", - @"6" : @"6", - @"7" : @"7", - @"8" : @"8", - @"9" : @"9", - @":" : @":", - @";" : @";", - @"<" : @"<", - @"=" : @"=", - @">" : @">", - @"?" : @"?", - @"@" : @"@", - @"A" : @"A", - @"B" : @"B", - @"C" : @"C", - @"D" : @"D", - @"E" : @"E", - @"F" : @"F", - @"G" : @"G", - @"H" : @"H", - @"I" : @"I", - @"J" : @"J", - @"K" : @"K", - @"L" : @"L", - @"M" : @"M", - @"N" : @"N", - @"O" : @"O", - @"P" : @"P", - @"Q" : @"Q", - @"R" : @"R", - @"S" : @"S", - @"T" : @"T", - @"U" : @"U", - @"V" : @"V", - @"W" : @"W", - @"X" : @"X", - @"Y" : @"Y", - @"Z" : @"Z", - @"[" : @"[", - @"\" : @"\\", - @"]" : @"]", - @"^" : @"^", - @"_" : @"_", - @"`" : @"`", - @"a" : @"a", - @"b" : @"b", - @"c" : @"c", - @"d" : @"d", - @"e" : @"e", - @"f" : @"f", - @"g" : @"g", - @"h" : @"h", - @"i" : @"i", - @"j" : @"j", - @"k" : @"k", - @"l" : @"l", - @"m" : @"m", - @"n" : @"n", - @"o" : @"o", - @"p" : @"p", - @"q" : @"q", - @"r" : @"r", - @"s" : @"s", - @"t" : @"t", - @"u" : @"u", - @"v" : @"v", - @"w" : @"w", - @"x" : @"x", - @"y" : @"y", - @"z" : @"z", - @"{" : @"{", - @"|" : @"|", - @"}" : @"}", - @"~" : @"~", - @"" : @"\u0127", - @"€" : @"\u0128", - @"" : @"\u0129", - @"‚" : @"\u0130", - @"ƒ" : @"\u0131", - @"„" : @"\u0132", - @"…" : @"\u0133", - @"†" : @"\u0134", - @"‡" : @"\u0135", - @"ˆ" : @"\u0136", - @"‰" : @"\u0137", - @"Š" : @"\u0138", - @"‹" : @"\u0139", - @"Œ" : @"\u0140", - @"" : @"\u0141", - @"Ž" : @"\u0142", - @"" : @"\u0143", - @"" : @"\u0144", - @"‘" : @"\u0145", - @"’" : @"\u0146", - @"“" : @"\u0147", - @"”" : @"\u0148", - @"•" : @"\u0149", - @"–" : @"\u0150", - @"—" : @"\u0151", - @"˜" : @"\u0152", - @"™" : @"\u0153", - @"š" : @"\u0154", - @"›" : @"\u0155", - @"œ" : @"\u0156", - @"" : @"\u0157", - @"ž" : @"\u0158", - @"Ÿ" : @"\u0159", - @" " : @"\u00A0", - @"¡" : @"\u00A1", - @"¢" : @"\u00A2", - @"£" : @"\u00A3", - @"¤" : @"\u00A4", - @"¥" : @"\u00A5", - @"¦" : @"\u00A6", - @"§" : @"\u00A7", - @"¨" : @"\u00A8", - @"©" : @"\u00A9", - @"ª" : @"\u00AA", - @"«" : @"\u00AB", - @"¬" : @"\u00AC", - @"­" : @"\u00AD", - @"®" : @"\u00AE", - @"¯" : @"\u00AF", - @"°" : @"\u00B0", - @"±" : @"\u00B1", - @"²" : @"\u00B2", - @"³" : @"\u00B3", - @"´" : @"\u00B4", - @"µ" : @"\u00B5", - @"¶" : @"\u00B6", - @"·" : @"\u00B7", - @"¸" : @"\u00B8", - @"¹" : @"\u00B9", - @"º" : @"\u00BA", - @"»" : @"\u00BB", - @"¼" : @"\u00BC", - @"½" : @"\u00BD", - @"¾" : @"\u00BE", - @"¿" : @"\u00BF", - @"À" : @"\u00C0", - @"Á" : @"\u00C1", - @"Â" : @"\u00C2", - @"Ã" : @"\u00C3", - @"Ä" : @"\u00C4", - @"Å" : @"\u00C5", - @"Æ" : @"\u00C6", - @"Ç" : @"\u00C7", - @"È" : @"\u00C8", - @"É" : @"\u00C9", - @"Ê" : @"\u00CA", - @"Ë" : @"\u00CB", - @"Ì" : @"\u00CC", - @"Í" : @"\u00CD", - @"Î" : @"\u00CE", - @"Ï" : @"\u00CF", - @"Ð" : @"\u00D0", - @"Ñ" : @"\u00D1", - @"Ò" : @"\u00D2", - @"Ó" : @"\u00D3", - @"Ô" : @"\u00D4", - @"Õ" : @"\u00D5", - @"Ö" : @"\u00D6", - @"×" : @"\u00D7", - @"Ø" : @"\u00D8", - @"Ù" : @"\u00D9", - @"Ú" : @"\u00DA", - @"Û" : @"\u00DB", - @"Ü" : @"\u00DC", - @"Ý" : @"\u00DD", - @"Þ" : @"\u00DE", - @"ß" : @"\u00DF", - @"à" : @"\u00E0", - @"á" : @"\u00E1", - @"â" : @"\u00E2", - @"ã" : @"\u00E3", - @"ä" : @"\u00E4", - @"å" : @"\u00E5", - @"æ" : @"\u00E6", - @"ç" : @"\u00E7", - @"è" : @"\u00E8", - @"é" : @"\u00E9", - @"ê" : @"\u00EA", - @"ë" : @"\u00EB", - @"ì" : @"\u00EC", - @"í" : @"\u00ED", - @"î" : @"\u00EE", - @"ï" : @"\u00EF", - @"ð" : @"\u00F0", - @"ñ" : @"\u00F1", - @"ò" : @"\u00F2", - @"ó" : @"\u00F3", - @"ô" : @"\u00F4", - @"õ" : @"\u00F5", - @"ö" : @"\u00F6", - @"÷" : @"\u00F7", - @"ø" : @"\u00F8", - @"ù" : @"\u00F9", - @"ú" : @"\u00FA", - @"û" : @"\u00FB", - @"ü" : @"\u00FC", - @"ý" : @"\u00FD", - @"þ" : @"\u00FE", - @"ÿ" : @"\u00FF", - @"ƒ" : @"\u0192", - @"Α" : @"\u0391", - @"Β" : @"\u0392", - @"Γ" : @"\u0393", - @"Δ" : @"\u0394", - @"Ε" : @"\u0395", - @"Ζ" : @"\u0396", - @"Η" : @"\u0397", - @"Θ" : @"\u0398", - @"Ι" : @"\u0399", - @"Κ" : @"\u039A", - @"Λ" : @"\u039B", - @"Μ" : @"\u039C", - @"Ν" : @"\u039D", - @"Ξ" : @"\u039E", - @"Ο" : @"\u039F", - @"Π" : @"\u03A0", - @"Ρ" : @"\u03A1", - @"Σ" : @"\u03A3", - @"Τ" : @"\u03A4", - @"Υ" : @"\u03A5", - @"Φ" : @"\u03A6", - @"Χ" : @"\u03A7", - @"Ψ" : @"\u03A8", - @"Ω" : @"\u03A9", - @"α" : @"\u03B1", - @"β" : @"\u03B2", - @"γ" : @"\u03B3", - @"δ" : @"\u03B4", - @"ε" : @"\u03B5", - @"ζ" : @"\u03B6", - @"η" : @"\u03B7", - @"θ" : @"\u03B8", - @"ι" : @"\u03B9", - @"κ" : @"\u03BA", - @"λ" : @"\u03BB", - @"μ" : @"\u03BC", - @"ν" : @"\u03BD", - @"ξ" : @"\u03BE", - @"ο" : @"\u03BF", - @"π" : @"\u03C0", - @"ρ" : @"\u03C1", - @"ς" : @"\u03C2", - @"σ" : @"\u03C3", - @"τ" : @"\u03C4", - @"υ" : @"\u03C5", - @"φ" : @"\u03C6", - @"χ" : @"\u03C7", - @"ψ" : @"\u03C8", - @"ω" : @"\u03C9", - @"ϑ" : @"\u03D1", - @"ϒ" : @"\u03D2", - @"ϖ" : @"\u03D6", - @"•" : @"\u2022", - @"…" : @"\u2026", - @"′" : @"\u2032", - @"″" : @"\u2033", - @"‾" : @"\u203E", - @"⁄" : @"\u2044", - @"℘" : @"\u2118", - @"ℑ" : @"\u2111", - @"ℜ" : @"\u211C", - @"™" : @"\u2122", - @"ℵ" : @"\u2135", - @"←" : @"\u2190", - @"↑" : @"\u2191", - @"→" : @"\u2192", - @"↓" : @"\u2193", - @"↔" : @"\u2194", - @"↵" : @"\u21B5", - @"⇐" : @"\u21D0", - @"⇑" : @"\u21D1", - @"⇒" : @"\u21D2", - @"⇓" : @"\u21D3", - @"⇔" : @"\u21D4", - @"∀" : @"\u2200", - @"∂" : @"\u2202", - @"∃" : @"\u2203", - @"∅" : @"\u2205", - @"∇" : @"\u2207", - @"∈" : @"\u2208", - @"∉" : @"\u2209", - @"∋" : @"\u220B", - @"∏" : @"\u220F", - @"∑" : @"\u2211", - @"−" : @"\u2212", - @"∗" : @"\u2217", - @"√" : @"\u221A", - @"∝" : @"\u221D", - @"∞" : @"\u221E", - @"∠" : @"\u2220", - @"∧" : @"\u2227", - @"∨" : @"\u2228", - @"∩" : @"\u2229", - @"∪" : @"\u222A", - @"∫" : @"\u222B", - @"∴" : @"\u2234", - @"∼" : @"\u223C", - @"≅" : @"\u2245", - @"≈" : @"\u2248", - @"≠" : @"\u2260", - @"≡" : @"\u2261", - @"≤" : @"\u2264", - @"≥" : @"\u2265", - @"⊂" : @"\u2282", - @"⊃" : @"\u2283", - @"⊄" : @"\u2284", - @"⊆" : @"\u2286", - @"⊇" : @"\u2287", - @"⊕" : @"\u2295", - @"⊗" : @"\u2297", - @"⊥" : @"\u22A5", - @"⋅" : @"\u22C5", - @"⌈" : @"\u2308", - @"⌉" : @"\u2309", - @"⌊" : @"\u230A", - @"⌋" : @"\u230B", - @"〈" : @"\u2329", - @"〉" : @"\u232A", - @"◊" : @"\u25CA", - @"♠" : @"\u2660", - @"♣" : @"\u2663", - @"♥" : @"\u2665", - @"♦" : @"\u2666" - }; - - dicHexaHTMLEntities = @{ - @" " : @" ", - @"!" : @"!", - @""" : @"\"", - @"#" : @"#", - @"$" : @"$", - @"%" : @"%", - @"&" : @"&", - @"'" : @"'", - @"(" : @"(", - @")" : @")", - @"*" : @"*", - @"+" : @"+", - @"," : @",", - @"-" : @"-", - @"." : @".", - @"/" : @"/", - @"0" : @"0", - @"1" : @"1", - @"2" : @"2", - @"3" : @"3", - @"4" : @"4", - @"5" : @"5", - @"6" : @"6", - @"7" : @"7", - @"8" : @"8", - @"9" : @"9", - @":" : @":", - @";" : @";", - @"<" : @"<", - @"=" : @"=", - @">" : @">", - @"?" : @"?", - @"@" : @"@", - @"A" : @"A", - @"B" : @"B", - @"C" : @"C", - @"D" : @"D", - @"E" : @"E", - @"F" : @"F", - @"G" : @"G", - @"H" : @"H", - @"I" : @"I", - @"J" : @"J", - @"K" : @"K", - @"L" : @"L", - @"M" : @"M", - @"N" : @"N", - @"O" : @"O", - @"P" : @"P", - @"Q" : @"Q", - @"R" : @"R", - @"S" : @"S", - @"T" : @"T", - @"U" : @"U", - @"V" : @"V", - @"W" : @"W", - @"X" : @"X", - @"Y" : @"Y", - @"Z" : @"Z", - @"[" : @"[", - @"\" : @"\\", - @"]" : @"]", - @"^" : @"^", - @"_" : @"_", - @"`" : @"`", - @"a" : @"a", - @"b" : @"b", - @"c" : @"c", - @"d" : @"d", - @"e" : @"e", - @"f" : @"f", - @"g" : @"g", - @"h" : @"h", - @"i" : @"i", - @"j" : @"j", - @"k" : @"k", - @"l" : @"l", - @"m" : @"m", - @"n" : @"n", - @"o" : @"o", - @"p" : @"p", - @"q" : @"q", - @"r" : @"r", - @"s" : @"s", - @"t" : @"t", - @"u" : @"u", - @"v" : @"v", - @"w" : @"w", - @"x" : @"x", - @"y" : @"y", - @"z" : @"z", - @"{" : @"{", - @"|" : @"|", - @"}" : @"}", - @"~" : @"~", - @"" : @"\u0127", - @"€" : @"\u0128", - @"" : @"\u0129", - @"‚" : @"\u0130", - @"ƒ" : @"\u0131", - @"„" : @"\u0132", - @"…" : @"\u0133", - @"†" : @"\u0134", - @"‡" : @"\u0135", - @"ˆ" : @"\u0136", - @"‰" : @"\u0137", - @"Š" : @"\u0138", - @"‹" : @"\u0139", - @"Œ" : @"\u0140", - @"" : @"\u0141", - @"Ž" : @"\u0142", - @"" : @"\u0143", - @"" : @"\u0144", - @"‘" : @"\u0145", - @"’" : @"\u0146", - @"“" : @"\u0147", - @"”" : @"\u0148", - @"•" : @"\u0149", - @"–" : @"\u0150", - @"—" : @"\u0151", - @"˜" : @"\u0152", - @"™" : @"\u0153", - @"š" : @"\u0154", - @"›" : @"\u0155", - @"œ" : @"\u0156", - @"" : @"\u0157", - @"ž" : @"\u0158", - @"Ÿ" : @"\u0159", - @" " : @"\u00A0", - @"¡" : @"\u00A1", - @"¢" : @"\u00A2", - @"£" : @"\u00A3", - @"¤" : @"\u00A4", - @"¥" : @"\u00A5", - @"¦" : @"\u00A6", - @"§" : @"\u00A7", - @"¨" : @"\u00A8", - @"©" : @"\u00A9", - @"ª" : @"\u00AA", - @"«" : @"\u00AB", - @"¬" : @"\u00AC", - @"­" : @"\u00AD", - @"®" : @"\u00AE", - @"¯" : @"\u00AF", - @"°" : @"\u00B0", - @"±" : @"\u00B1", - @"²" : @"\u00B2", - @"³" : @"\u00B3", - @"´" : @"\u00B4", - @"µ" : @"\u00B5", - @"¶" : @"\u00B6", - @"·" : @"\u00B7", - @"¸" : @"\u00B8", - @"¹" : @"\u00B9", - @"º" : @"\u00BA", - @"»" : @"\u00BB", - @"¼" : @"\u00BC", - @"½" : @"\u00BD", - @"¾" : @"\u00BE", - @"¿" : @"\u00BF", - @"À" : @"\u00C0", - @"Á" : @"\u00C1", - @"Â" : @"\u00C2", - @"Ã" : @"\u00C3", - @"Ä" : @"\u00C4", - @"Å" : @"\u00C5", - @"Æ" : @"\u00C6", - @"Ç" : @"\u00C7", - @"È" : @"\u00C8", - @"É" : @"\u00C9", - @"Ê" : @"\u00CA", - @"Ë" : @"\u00CB", - @"Ì" : @"\u00CC", - @"Í" : @"\u00CD", - @"Î" : @"\u00CE", - @"Ï" : @"\u00CF", - @"Ð" : @"\u00D0", - @"Ñ" : @"\u00D1", - @"Ò" : @"\u00D2", - @"Ó" : @"\u00D3", - @"Ô" : @"\u00D4", - @"Õ" : @"\u00D5", - @"Ö" : @"\u00D6", - @"×" : @"\u00D7", - @"Ø" : @"\u00D8", - @"Ù" : @"\u00D9", - @"Ú" : @"\u00DA", - @"Û" : @"\u00DB", - @"Ü" : @"\u00DC", - @"Ý" : @"\u00DD", - @"Þ" : @"\u00DE", - @"ß" : @"\u00DF", - @"à" : @"\u00E0", - @"á" : @"\u00E1", - @"â" : @"\u00E2", - @"ã" : @"\u00E3", - @"ä" : @"\u00E4", - @"å" : @"\u00E5", - @"æ" : @"\u00E6", - @"ç" : @"\u00E7", - @"è" : @"\u00E8", - @"é" : @"\u00E9", - @"ê" : @"\u00EA", - @"ë" : @"\u00EB", - @"ì" : @"\u00EC", - @"í" : @"\u00ED", - @"î" : @"\u00EE", - @"ï" : @"\u00EF", - @"ð" : @"\u00F0", - @"ñ" : @"\u00F1", - @"ò" : @"\u00F2", - @"ó" : @"\u00F3", - @"ô" : @"\u00F4", - @"õ" : @"\u00F5", - @"ö" : @"\u00F6", - @"÷" : @"\u00F7", - @"ø" : @"\u00F8", - @"ù" : @"\u00F9", - @"ú" : @"\u00FA", - @"û" : @"\u00FB", - @"ü" : @"\u00FC", - @"ý" : @"\u00FD", - @"þ" : @"\u00FE", - @"ÿ" : @"\u00FF", - @"ƒ" : @"\u0192", - @"Α" : @"\u0391", - @"Β" : @"\u0392", - @"Γ" : @"\u0393", - @"Δ" : @"\u0394", - @"Ε" : @"\u0395", - @"Ζ" : @"\u0396", - @"Η" : @"\u0397", - @"Θ" : @"\u0398", - @"Ι" : @"\u0399", - @"Κ" : @"\u039A", - @"Λ" : @"\u039B", - @"Μ" : @"\u039C", - @"Ν" : @"\u039D", - @"Ξ" : @"\u039E", - @"Ο" : @"\u039F", - @"Π" : @"\u03A0", - @"Ρ" : @"\u03A1", - @"Σ" : @"\u03A3", - @"Τ" : @"\u03A4", - @"Υ" : @"\u03A5", - @"Φ" : @"\u03A6", - @"Χ" : @"\u03A7", - @"Ψ" : @"\u03A8", - @"Ω" : @"\u03A9", - @"α" : @"\u03B1", - @"β" : @"\u03B2", - @"γ" : @"\u03B3", - @"δ" : @"\u03B4", - @"ε" : @"\u03B5", - @"ζ" : @"\u03B6", - @"η" : @"\u03B7", - @"θ" : @"\u03B8", - @"ι" : @"\u03B9", - @"κ" : @"\u03BA", - @"λ" : @"\u03BB", - @"μ" : @"\u03BC", - @"ν" : @"\u03BD", - @"ξ" : @"\u03BE", - @"ο" : @"\u03BF", - @"π" : @"\u03C0", - @"ρ" : @"\u03C1", - @"ς" : @"\u03C2", - @"σ" : @"\u03C3", - @"τ" : @"\u03C4", - @"υ" : @"\u03C5", - @"φ" : @"\u03C6", - @"χ" : @"\u03C7", - @"ψ" : @"\u03C8", - @"ω" : @"\u03C9", - @"ϑ" : @"\u03D1", - @"ϒ" : @"\u03D2", - @"ϖ" : @"\u03D6", - @"•" : @"\u2022", - @"…" : @"\u2026", - @"′" : @"\u2032", - @"″" : @"\u2033", - @"‾" : @"\u203E", - @"⁄" : @"\u2044", - @"℘" : @"\u2118", - @"ℑ" : @"\u2111", - @"ℜ" : @"\u211C", - @"™" : @"\u2122", - @"ℵ" : @"\u2135", - @"←" : @"\u2190", - @"↑" : @"\u2191", - @"→" : @"\u2192", - @"↓" : @"\u2193", - @"↔" : @"\u2194", - @"↵" : @"\u21B5", - @"⇐" : @"\u21D0", - @"⇑" : @"\u21D1", - @"⇒" : @"\u21D2", - @"⇓" : @"\u21D3", - @"⇔" : @"\u21D4", - @"∀" : @"\u2200", - @"∂" : @"\u2202", - @"∃" : @"\u2203", - @"∅" : @"\u2205", - @"∇" : @"\u2207", - @"∈" : @"\u2208", - @"∉" : @"\u2209", - @"∋" : @"\u220B", - @"∏" : @"\u220F", - @"∑" : @"\u2211", - @"−" : @"\u2212", - @"∗" : @"\u2217", - @"√" : @"\u221A", - @"∝" : @"\u221D", - @"∞" : @"\u221E", - @"∠" : @"\u2220", - @"∧" : @"\u2227", - @"∨" : @"\u2228", - @"∩" : @"\u2229", - @"∪" : @"\u222A", - @"∫" : @"\u222B", - @"∴" : @"\u2234", - @"∼" : @"\u223C", - @"≅" : @"\u2245", - @"≈" : @"\u2248", - @"≠" : @"\u2260", - @"≡" : @"\u2261", - @"≤" : @"\u2264", - @"≥" : @"\u2265", - @"⊂" : @"\u2282", - @"⊃" : @"\u2283", - @"⊄" : @"\u2284", - @"⊆" : @"\u2286", - @"⊇" : @"\u2287", - @"⊕" : @"\u2295", - @"⊗" : @"\u2297", - @"⊥" : @"\u22A5", - @"⋅" : @"\u22C5", - @"⌈" : @"\u2308", - @"⌉" : @"\u2309", - @"⌊" : @"\u230A", - @"⌋" : @"\u230B", - @"〈" : @"\u2329", - @"〉" : @"\u232A", - @"◊" : @"\u25CA", - @"♠" : @"\u2660", - @"♣" : @"\u2663", - @"♥" : @"\u2665", - @"♦" : @"\u2666" - }; - + dicEntities = @{ + @""" : @"\"", + @"&" : @"&", + @"'" : @"'", + @"<" : @"<", + @">" : @">", + @" " : @"\u00A0", + @"¡" : @"\u00A1", + @"¢" : @"\u00A2", + @"£" : @"\u00A3", + @"¤" : @"\u00A4", + @"¥" : @"\u00A5", + @"¦" : @"\u00A6", + @"§" : @"\u00A7", + @"¨" : @"\u00A8", + @"©" : @"\u00A9", + @"ª" : @"\u00AA", + @"«" : @"\u00AB", + @"¬" : @"\u00AC", + @"­" : @"\u00AD", + @"®" : @"\u00AE", + @"¯" : @"\u00AF", + @"°" : @"\u00B0", + @"±" : @"\u00B1", + @"²" : @"\u00B2", + @"³" : @"\u00B3", + @"´" : @"\u00B4", + @"µ" : @"\u00B5", + @"¶" : @"\u00B6", + @"·" : @"\u00B7", + @"¸" : @"\u00B8", + @"¹" : @"\u00B9", + @"º" : @"\u00BA", + @"»" : @"\u00BB", + @"¼" : @"\u00BC", + @"½" : @"\u00BD", + @"¾" : @"\u00BE", + @"¿" : @"\u00BF", + @"À" : @"\u00C0", + @"Á" : @"\u00C1", + @"Â" : @"\u00C2", + @"Ã" : @"\u00C3", + @"Ä" : @"\u00C4", + @"Å" : @"\u00C5", + @"Æ" : @"\u00C6", + @"Ç" : @"\u00C7", + @"È" : @"\u00C8", + @"É" : @"\u00C9", + @"Ê" : @"\u00CA", + @"Ë" : @"\u00CB", + @"Ì" : @"\u00CC", + @"Í" : @"\u00CD", + @"Î" : @"\u00CE", + @"Ï" : @"\u00CF", + @"Ð" : @"\u00D0", + @"Ñ" : @"\u00D1", + @"Ò" : @"\u00D2", + @"Ó" : @"\u00D3", + @"Ô" : @"\u00D4", + @"Õ" : @"\u00D5", + @"Ö" : @"\u00D6", + @"×" : @"\u00D7", + @"Ø" : @"\u00D8", + @"Ù" : @"\u00D9", + @"Ú" : @"\u00DA", + @"Û" : @"\u00DB", + @"Ü" : @"\u00DC", + @"Ý" : @"\u00DD", + @"Þ" : @"\u00DE", + @"ß" : @"\u00DF", + @"à" : @"\u00E0", + @"á" : @"\u00E1", + @"â" : @"\u00E2", + @"ã" : @"\u00E3", + @"ä" : @"\u00E4", + @"å" : @"\u00E5", + @"æ" : @"\u00E6", + @"ç" : @"\u00E7", + @"è" : @"\u00E8", + @"é" : @"\u00E9", + @"ê" : @"\u00EA", + @"ë" : @"\u00EB", + @"ì" : @"\u00EC", + @"í" : @"\u00ED", + @"î" : @"\u00EE", + @"ï" : @"\u00EF", + @"ð" : @"\u00F0", + @"ñ" : @"\u00F1", + @"ò" : @"\u00F2", + @"ó" : @"\u00F3", + @"ô" : @"\u00F4", + @"õ" : @"\u00F5", + @"ö" : @"\u00F6", + @"÷" : @"\u00F7", + @"ø" : @"\u00F8", + @"ù" : @"\u00F9", + @"ú" : @"\u00FA", + @"û" : @"\u00FB", + @"ü" : @"\u00FC", + @"ý" : @"\u00FD", + @"þ" : @"\u00FE", + @"ÿ" : @"\u00FF", + @"Œ" : @"\u0152", + @"œ" : @"\u0153", + @"Š" : @"\u0160", + @"š" : @"\u0161", + @"Ÿ" : @"\u0178", + @"ƒ" : @"\u0192", + @"ˆ" : @"\u02C6", + @"˜" : @"\u02DC", + @"Α" : @"\u0391", + @"Β" : @"\u0392", + @"Γ" : @"\u0393", + @"Δ" : @"\u0394", + @"Ε" : @"\u0395", + @"Ζ" : @"\u0396", + @"Η" : @"\u0397", + @"Θ" : @"\u0398", + @"Ι" : @"\u0399", + @"Κ" : @"\u039A", + @"Λ" : @"\u039B", + @"Μ" : @"\u039C", + @"Ν" : @"\u039D", + @"Ξ" : @"\u039E", + @"Ο" : @"\u039F", + @"Π" : @"\u03A0", + @"Ρ" : @"\u03A1", + @"Σ" : @"\u03A3", + @"Τ" : @"\u03A4", + @"Υ" : @"\u03A5", + @"Φ" : @"\u03A6", + @"Χ" : @"\u03A7", + @"Ψ" : @"\u03A8", + @"Ω" : @"\u03A9", + @"α" : @"\u03B1", + @"β" : @"\u03B2", + @"γ" : @"\u03B3", + @"δ" : @"\u03B4", + @"ε" : @"\u03B5", + @"ζ" : @"\u03B6", + @"η" : @"\u03B7", + @"θ" : @"\u03B8", + @"ι" : @"\u03B9", + @"κ" : @"\u03BA", + @"λ" : @"\u03BB", + @"μ" : @"\u03BC", + @"ν" : @"\u03BD", + @"ξ" : @"\u03BE", + @"ο" : @"\u03BF", + @"π" : @"\u03C0", + @"ρ" : @"\u03C1", + @"ς" : @"\u03C2", + @"σ" : @"\u03C3", + @"τ" : @"\u03C4", + @"υ" : @"\u03C5", + @"φ" : @"\u03C6", + @"χ" : @"\u03C7", + @"ψ" : @"\u03C8", + @"ω" : @"\u03C9", + @"ϑ" : @"\u03D1", + @"ϒ" : @"\u03D2", + @"ϖ" : @"\u03D6", + @" " : @"\u2002", + @" " : @"\u2003", + @" " : @"\u2009", + @"‌" : @"\u200C", + @"‍" : @"\u200D", + @"‎" : @"\u200E", + @"‏" : @"\u200F", + @"–" : @"\u2013", + @"—" : @"\u2014", + @"‘" : @"\u2018", + @"’" : @"\u2019", + @"‚" : @"\u201A", + @"“" : @"\u201C", + @"”" : @"\u201D", + @"„" : @"\u201E", + @"†" : @"\u2020", + @"‡" : @"\u2021", + @"•" : @"\u2022", + @"…" : @"\u2026", + @"‰" : @"\u2030", + @"′" : @"\u2032", + @"″" : @"\u2033", + @"‹" : @"\u2039", + @"›" : @"\u203A", + @"‾" : @"\u203E", + @"⁄" : @"\u2044", + @"€" : @"\u20AC", + @"ℑ" : @"\u2111", + @"℘" : @"\u2118", + @"ℜ" : @"\u211C", + @"™" : @"\u2122", + @"ℵ" : @"\u2135", + @"←" : @"\u2190", + @"↑" : @"\u2191", + @"→" : @"\u2192", + @"↓" : @"\u2193", + @"↔" : @"\u2194", + @"↵" : @"\u21B5", + @"⇐" : @"\u21D0", + @"⇑" : @"\u21D1", + @"⇒" : @"\u21D2", + @"⇓" : @"\u21D3", + @"⇔" : @"\u21D4", + @"∀" : @"\u2200", + @"∂" : @"\u2202", + @"∃" : @"\u2203", + @"∅" : @"\u2205", + @"∇" : @"\u2207", + @"∈" : @"\u2208", + @"∉" : @"\u2209", + @"∋" : @"\u220B", + @"∏" : @"\u220F", + @"∑" : @"\u2211", + @"−" : @"\u2212", + @"∗" : @"\u2217", + @"√" : @"\u221A", + @"∝" : @"\u221D", + @"∞" : @"\u221E", + @"∠" : @"\u2220", + @"∧" : @"\u2227", + @"∨" : @"\u2228", + @"∩" : @"\u2229", + @"∪" : @"\u222A", + @"∫" : @"\u222B", + @"∴" : @"\u2234", + @"∼" : @"\u223C", + @"≅" : @"\u2245", + @"≈" : @"\u2248", + @"≠" : @"\u2260", + @"≡" : @"\u2261", + @"≤" : @"\u2264", + @"≥" : @"\u2265", + @"⊂" : @"\u2282", + @"⊃" : @"\u2283", + @"⊄" : @"\u2284", + @"⊆" : @"\u2286", + @"⊇" : @"\u2287", + @"⊕" : @"\u2295", + @"⊗" : @"\u2297", + @"⊥" : @"\u22A5", + @"⋅" : @"\u22C5", + @"⋮" : @"\u22EE", + @"⌈" : @"\u2308", + @"⌉" : @"\u2309", + @"⌊" : @"\u230A", + @"⌋" : @"\u230B", + @"⟨" : @"\u2329", + @"⟩" : @"\u232A", + @"◊" : @"\u25CA", + @"♠" : @"\u2660", + @"♣" : @"\u2663", + @"♥" : @"\u2665", + @"♦" : @"\u2666", + @" " : @" ", + @"!" : @"!", + @""" : @"\"", + @"#" : @"#", + @"$" : @"$", + @"%" : @"%", + @"&" : @"&", + @"'" : @"'", + @"(" : @"(", + @")" : @")", + @"*" : @"*", + @"+" : @"+", + @"," : @",", + @"-" : @"-", + @"." : @".", + @"/" : @"/", + @"0" : @"0", + @"1" : @"1", + @"2" : @"2", + @"3" : @"3", + @"4" : @"4", + @"5" : @"5", + @"6" : @"6", + @"7" : @"7", + @"8" : @"8", + @"9" : @"9", + @":" : @":", + @";" : @";", + @"<" : @"<", + @"=" : @"=", + @">" : @">", + @"?" : @"?", + @"@" : @"@", + @"A" : @"A", + @"B" : @"B", + @"C" : @"C", + @"D" : @"D", + @"E" : @"E", + @"F" : @"F", + @"G" : @"G", + @"H" : @"H", + @"I" : @"I", + @"J" : @"J", + @"K" : @"K", + @"L" : @"L", + @"M" : @"M", + @"N" : @"N", + @"O" : @"O", + @"P" : @"P", + @"Q" : @"Q", + @"R" : @"R", + @"S" : @"S", + @"T" : @"T", + @"U" : @"U", + @"V" : @"V", + @"W" : @"W", + @"X" : @"X", + @"Y" : @"Y", + @"Z" : @"Z", + @"[" : @"[", + @"\" : @"\\", + @"]" : @"]", + @"^" : @"^", + @"_" : @"_", + @"`" : @"`", + @"a" : @"a", + @"b" : @"b", + @"c" : @"c", + @"d" : @"d", + @"e" : @"e", + @"f" : @"f", + @"g" : @"g", + @"h" : @"h", + @"i" : @"i", + @"j" : @"j", + @"k" : @"k", + @"l" : @"l", + @"m" : @"m", + @"n" : @"n", + @"o" : @"o", + @"p" : @"p", + @"q" : @"q", + @"r" : @"r", + @"s" : @"s", + @"t" : @"t", + @"u" : @"u", + @"v" : @"v", + @"w" : @"w", + @"x" : @"x", + @"y" : @"y", + @"z" : @"z", + @"{" : @"{", + @"|" : @"|", + @"}" : @"}", + @"~" : @"~", + @"" : @"\u0127", + @"€" : @"\u0128", + @"" : @"\u0129", + @"‚" : @"\u0130", + @"ƒ" : @"\u0131", + @"„" : @"\u0132", + @"…" : @"\u0133", + @"†" : @"\u0134", + @"‡" : @"\u0135", + @"ˆ" : @"\u0136", + @"‰" : @"\u0137", + @"Š" : @"\u0138", + @"‹" : @"\u0139", + @"Œ" : @"\u0140", + @"" : @"\u0141", + @"Ž" : @"\u0142", + @"" : @"\u0143", + @"" : @"\u0144", + @"‘" : @"\u0145", + @"’" : @"\u0146", + @"“" : @"\u0147", + @"”" : @"\u0148", + @"•" : @"\u0149", + @"–" : @"\u0150", + @"—" : @"\u0151", + @"˜" : @"\u0152", + @"™" : @"\u0153", + @"š" : @"\u0154", + @"›" : @"\u0155", + @"œ" : @"\u0156", + @"" : @"\u0157", + @"ž" : @"\u0158", + @"Ÿ" : @"\u0159", + @" " : @"\u00A0", + @"¡" : @"\u00A1", + @"¢" : @"\u00A2", + @"£" : @"\u00A3", + @"¤" : @"\u00A4", + @"¥" : @"\u00A5", + @"¦" : @"\u00A6", + @"§" : @"\u00A7", + @"¨" : @"\u00A8", + @"©" : @"\u00A9", + @"ª" : @"\u00AA", + @"«" : @"\u00AB", + @"¬" : @"\u00AC", + @"­" : @"\u00AD", + @"®" : @"\u00AE", + @"¯" : @"\u00AF", + @"°" : @"\u00B0", + @"±" : @"\u00B1", + @"²" : @"\u00B2", + @"³" : @"\u00B3", + @"´" : @"\u00B4", + @"µ" : @"\u00B5", + @"¶" : @"\u00B6", + @"·" : @"\u00B7", + @"¸" : @"\u00B8", + @"¹" : @"\u00B9", + @"º" : @"\u00BA", + @"»" : @"\u00BB", + @"¼" : @"\u00BC", + @"½" : @"\u00BD", + @"¾" : @"\u00BE", + @"¿" : @"\u00BF", + @"À" : @"\u00C0", + @"Á" : @"\u00C1", + @"Â" : @"\u00C2", + @"Ã" : @"\u00C3", + @"Ä" : @"\u00C4", + @"Å" : @"\u00C5", + @"Æ" : @"\u00C6", + @"Ç" : @"\u00C7", + @"È" : @"\u00C8", + @"É" : @"\u00C9", + @"Ê" : @"\u00CA", + @"Ë" : @"\u00CB", + @"Ì" : @"\u00CC", + @"Í" : @"\u00CD", + @"Î" : @"\u00CE", + @"Ï" : @"\u00CF", + @"Ð" : @"\u00D0", + @"Ñ" : @"\u00D1", + @"Ò" : @"\u00D2", + @"Ó" : @"\u00D3", + @"Ô" : @"\u00D4", + @"Õ" : @"\u00D5", + @"Ö" : @"\u00D6", + @"×" : @"\u00D7", + @"Ø" : @"\u00D8", + @"Ù" : @"\u00D9", + @"Ú" : @"\u00DA", + @"Û" : @"\u00DB", + @"Ü" : @"\u00DC", + @"Ý" : @"\u00DD", + @"Þ" : @"\u00DE", + @"ß" : @"\u00DF", + @"à" : @"\u00E0", + @"á" : @"\u00E1", + @"â" : @"\u00E2", + @"ã" : @"\u00E3", + @"ä" : @"\u00E4", + @"å" : @"\u00E5", + @"æ" : @"\u00E6", + @"ç" : @"\u00E7", + @"è" : @"\u00E8", + @"é" : @"\u00E9", + @"ê" : @"\u00EA", + @"ë" : @"\u00EB", + @"ì" : @"\u00EC", + @"í" : @"\u00ED", + @"î" : @"\u00EE", + @"ï" : @"\u00EF", + @"ð" : @"\u00F0", + @"ñ" : @"\u00F1", + @"ò" : @"\u00F2", + @"ó" : @"\u00F3", + @"ô" : @"\u00F4", + @"õ" : @"\u00F5", + @"ö" : @"\u00F6", + @"÷" : @"\u00F7", + @"ø" : @"\u00F8", + @"ù" : @"\u00F9", + @"ú" : @"\u00FA", + @"û" : @"\u00FB", + @"ü" : @"\u00FC", + @"ý" : @"\u00FD", + @"þ" : @"\u00FE", + @"ÿ" : @"\u00FF", + @"ƒ" : @"\u0192", + @"Α" : @"\u0391", + @"Β" : @"\u0392", + @"Γ" : @"\u0393", + @"Δ" : @"\u0394", + @"Ε" : @"\u0395", + @"Ζ" : @"\u0396", + @"Η" : @"\u0397", + @"Θ" : @"\u0398", + @"Ι" : @"\u0399", + @"Κ" : @"\u039A", + @"Λ" : @"\u039B", + @"Μ" : @"\u039C", + @"Ν" : @"\u039D", + @"Ξ" : @"\u039E", + @"Ο" : @"\u039F", + @"Π" : @"\u03A0", + @"Ρ" : @"\u03A1", + @"Σ" : @"\u03A3", + @"Τ" : @"\u03A4", + @"Υ" : @"\u03A5", + @"Φ" : @"\u03A6", + @"Χ" : @"\u03A7", + @"Ψ" : @"\u03A8", + @"Ω" : @"\u03A9", + @"α" : @"\u03B1", + @"β" : @"\u03B2", + @"γ" : @"\u03B3", + @"δ" : @"\u03B4", + @"ε" : @"\u03B5", + @"ζ" : @"\u03B6", + @"η" : @"\u03B7", + @"θ" : @"\u03B8", + @"ι" : @"\u03B9", + @"κ" : @"\u03BA", + @"λ" : @"\u03BB", + @"μ" : @"\u03BC", + @"ν" : @"\u03BD", + @"ξ" : @"\u03BE", + @"ο" : @"\u03BF", + @"π" : @"\u03C0", + @"ρ" : @"\u03C1", + @"ς" : @"\u03C2", + @"σ" : @"\u03C3", + @"τ" : @"\u03C4", + @"υ" : @"\u03C5", + @"φ" : @"\u03C6", + @"χ" : @"\u03C7", + @"ψ" : @"\u03C8", + @"ω" : @"\u03C9", + @"ϑ" : @"\u03D1", + @"ϒ" : @"\u03D2", + @"ϖ" : @"\u03D6", + @"•" : @"\u2022", + @"…" : @"\u2026", + @"′" : @"\u2032", + @"″" : @"\u2033", + @"‾" : @"\u203E", + @"⁄" : @"\u2044", + @"℘" : @"\u2118", + @"ℑ" : @"\u2111", + @"ℜ" : @"\u211C", + @"™" : @"\u2122", + @"ℵ" : @"\u2135", + @"←" : @"\u2190", + @"↑" : @"\u2191", + @"→" : @"\u2192", + @"↓" : @"\u2193", + @"↔" : @"\u2194", + @"↵" : @"\u21B5", + @"⇐" : @"\u21D0", + @"⇑" : @"\u21D1", + @"⇒" : @"\u21D2", + @"⇓" : @"\u21D3", + @"⇔" : @"\u21D4", + @"∀" : @"\u2200", + @"∂" : @"\u2202", + @"∃" : @"\u2203", + @"∅" : @"\u2205", + @"∇" : @"\u2207", + @"∈" : @"\u2208", + @"∉" : @"\u2209", + @"∋" : @"\u220B", + @"∏" : @"\u220F", + @"∑" : @"\u2211", + @"−" : @"\u2212", + @"∗" : @"\u2217", + @"√" : @"\u221A", + @"∝" : @"\u221D", + @"∞" : @"\u221E", + @"∠" : @"\u2220", + @"∧" : @"\u2227", + @"∨" : @"\u2228", + @"∩" : @"\u2229", + @"∪" : @"\u222A", + @"∫" : @"\u222B", + @"∴" : @"\u2234", + @"∼" : @"\u223C", + @"≅" : @"\u2245", + @"≈" : @"\u2248", + @"≠" : @"\u2260", + @"≡" : @"\u2261", + @"≤" : @"\u2264", + @"≥" : @"\u2265", + @"⊂" : @"\u2282", + @"⊃" : @"\u2283", + @"⊄" : @"\u2284", + @"⊆" : @"\u2286", + @"⊇" : @"\u2287", + @"⊕" : @"\u2295", + @"⊗" : @"\u2297", + @"⊥" : @"\u22A5", + @"⋅" : @"\u22C5", + @"⌈" : @"\u2308", + @"⌉" : @"\u2309", + @"⌊" : @"\u230A", + @"⌋" : @"\u230B", + @"〈" : @"\u2329", + @"〉" : @"\u232A", + @"◊" : @"\u25CA", + @"♠" : @"\u2660", + @"♣" : @"\u2663", + @"♥" : @"\u2665", + @"♦" : @"\u2666", + @" " : @" ", + @"!" : @"!", + @""" : @"\"", + @"#" : @"#", + @"$" : @"$", + @"%" : @"%", + @"&" : @"&", + @"'" : @"'", + @"(" : @"(", + @")" : @")", + @"*" : @"*", + @"+" : @"+", + @"," : @",", + @"-" : @"-", + @"." : @".", + @"/" : @"/", + @"0" : @"0", + @"1" : @"1", + @"2" : @"2", + @"3" : @"3", + @"4" : @"4", + @"5" : @"5", + @"6" : @"6", + @"7" : @"7", + @"8" : @"8", + @"9" : @"9", + @":" : @":", + @";" : @";", + @"<" : @"<", + @"=" : @"=", + @">" : @">", + @"?" : @"?", + @"@" : @"@", + @"A" : @"A", + @"B" : @"B", + @"C" : @"C", + @"D" : @"D", + @"E" : @"E", + @"F" : @"F", + @"G" : @"G", + @"H" : @"H", + @"I" : @"I", + @"J" : @"J", + @"K" : @"K", + @"L" : @"L", + @"M" : @"M", + @"N" : @"N", + @"O" : @"O", + @"P" : @"P", + @"Q" : @"Q", + @"R" : @"R", + @"S" : @"S", + @"T" : @"T", + @"U" : @"U", + @"V" : @"V", + @"W" : @"W", + @"X" : @"X", + @"Y" : @"Y", + @"Z" : @"Z", + @"[" : @"[", + @"\" : @"\\", + @"]" : @"]", + @"^" : @"^", + @"_" : @"_", + @"`" : @"`", + @"a" : @"a", + @"b" : @"b", + @"c" : @"c", + @"d" : @"d", + @"e" : @"e", + @"f" : @"f", + @"g" : @"g", + @"h" : @"h", + @"i" : @"i", + @"j" : @"j", + @"k" : @"k", + @"l" : @"l", + @"m" : @"m", + @"n" : @"n", + @"o" : @"o", + @"p" : @"p", + @"q" : @"q", + @"r" : @"r", + @"s" : @"s", + @"t" : @"t", + @"u" : @"u", + @"v" : @"v", + @"w" : @"w", + @"x" : @"x", + @"y" : @"y", + @"z" : @"z", + @"{" : @"{", + @"|" : @"|", + @"}" : @"}", + @"~" : @"~", + @"" : @"\u0127", + @"€" : @"\u0128", + @"" : @"\u0129", + @"‚" : @"\u0130", + @"ƒ" : @"\u0131", + @"„" : @"\u0132", + @"…" : @"\u0133", + @"†" : @"\u0134", + @"‡" : @"\u0135", + @"ˆ" : @"\u0136", + @"‰" : @"\u0137", + @"Š" : @"\u0138", + @"‹" : @"\u0139", + @"Œ" : @"\u0140", + @"" : @"\u0141", + @"Ž" : @"\u0142", + @"" : @"\u0143", + @"" : @"\u0144", + @"‘" : @"\u0145", + @"’" : @"\u0146", + @"“" : @"\u0147", + @"”" : @"\u0148", + @"•" : @"\u0149", + @"–" : @"\u0150", + @"—" : @"\u0151", + @"˜" : @"\u0152", + @"™" : @"\u0153", + @"š" : @"\u0154", + @"›" : @"\u0155", + @"œ" : @"\u0156", + @"" : @"\u0157", + @"ž" : @"\u0158", + @"Ÿ" : @"\u0159", + @" " : @"\u00A0", + @"¡" : @"\u00A1", + @"¢" : @"\u00A2", + @"£" : @"\u00A3", + @"¤" : @"\u00A4", + @"¥" : @"\u00A5", + @"¦" : @"\u00A6", + @"§" : @"\u00A7", + @"¨" : @"\u00A8", + @"©" : @"\u00A9", + @"ª" : @"\u00AA", + @"«" : @"\u00AB", + @"¬" : @"\u00AC", + @"­" : @"\u00AD", + @"®" : @"\u00AE", + @"¯" : @"\u00AF", + @"°" : @"\u00B0", + @"±" : @"\u00B1", + @"²" : @"\u00B2", + @"³" : @"\u00B3", + @"´" : @"\u00B4", + @"µ" : @"\u00B5", + @"¶" : @"\u00B6", + @"·" : @"\u00B7", + @"¸" : @"\u00B8", + @"¹" : @"\u00B9", + @"º" : @"\u00BA", + @"»" : @"\u00BB", + @"¼" : @"\u00BC", + @"½" : @"\u00BD", + @"¾" : @"\u00BE", + @"¿" : @"\u00BF", + @"À" : @"\u00C0", + @"Á" : @"\u00C1", + @"Â" : @"\u00C2", + @"Ã" : @"\u00C3", + @"Ä" : @"\u00C4", + @"Å" : @"\u00C5", + @"Æ" : @"\u00C6", + @"Ç" : @"\u00C7", + @"È" : @"\u00C8", + @"É" : @"\u00C9", + @"Ê" : @"\u00CA", + @"Ë" : @"\u00CB", + @"Ì" : @"\u00CC", + @"Í" : @"\u00CD", + @"Î" : @"\u00CE", + @"Ï" : @"\u00CF", + @"Ð" : @"\u00D0", + @"Ñ" : @"\u00D1", + @"Ò" : @"\u00D2", + @"Ó" : @"\u00D3", + @"Ô" : @"\u00D4", + @"Õ" : @"\u00D5", + @"Ö" : @"\u00D6", + @"×" : @"\u00D7", + @"Ø" : @"\u00D8", + @"Ù" : @"\u00D9", + @"Ú" : @"\u00DA", + @"Û" : @"\u00DB", + @"Ü" : @"\u00DC", + @"Ý" : @"\u00DD", + @"Þ" : @"\u00DE", + @"ß" : @"\u00DF", + @"à" : @"\u00E0", + @"á" : @"\u00E1", + @"â" : @"\u00E2", + @"ã" : @"\u00E3", + @"ä" : @"\u00E4", + @"å" : @"\u00E5", + @"æ" : @"\u00E6", + @"ç" : @"\u00E7", + @"è" : @"\u00E8", + @"é" : @"\u00E9", + @"ê" : @"\u00EA", + @"ë" : @"\u00EB", + @"ì" : @"\u00EC", + @"í" : @"\u00ED", + @"î" : @"\u00EE", + @"ï" : @"\u00EF", + @"ð" : @"\u00F0", + @"ñ" : @"\u00F1", + @"ò" : @"\u00F2", + @"ó" : @"\u00F3", + @"ô" : @"\u00F4", + @"õ" : @"\u00F5", + @"ö" : @"\u00F6", + @"÷" : @"\u00F7", + @"ø" : @"\u00F8", + @"ù" : @"\u00F9", + @"ú" : @"\u00FA", + @"û" : @"\u00FB", + @"ü" : @"\u00FC", + @"ý" : @"\u00FD", + @"þ" : @"\u00FE", + @"ÿ" : @"\u00FF", + @"ƒ" : @"\u0192", + @"Α" : @"\u0391", + @"Β" : @"\u0392", + @"Γ" : @"\u0393", + @"Δ" : @"\u0394", + @"Ε" : @"\u0395", + @"Ζ" : @"\u0396", + @"Η" : @"\u0397", + @"Θ" : @"\u0398", + @"Ι" : @"\u0399", + @"Κ" : @"\u039A", + @"Λ" : @"\u039B", + @"Μ" : @"\u039C", + @"Ν" : @"\u039D", + @"Ξ" : @"\u039E", + @"Ο" : @"\u039F", + @"Π" : @"\u03A0", + @"Ρ" : @"\u03A1", + @"Σ" : @"\u03A3", + @"Τ" : @"\u03A4", + @"Υ" : @"\u03A5", + @"Φ" : @"\u03A6", + @"Χ" : @"\u03A7", + @"Ψ" : @"\u03A8", + @"Ω" : @"\u03A9", + @"α" : @"\u03B1", + @"β" : @"\u03B2", + @"γ" : @"\u03B3", + @"δ" : @"\u03B4", + @"ε" : @"\u03B5", + @"ζ" : @"\u03B6", + @"η" : @"\u03B7", + @"θ" : @"\u03B8", + @"ι" : @"\u03B9", + @"κ" : @"\u03BA", + @"λ" : @"\u03BB", + @"μ" : @"\u03BC", + @"ν" : @"\u03BD", + @"ξ" : @"\u03BE", + @"ο" : @"\u03BF", + @"π" : @"\u03C0", + @"ρ" : @"\u03C1", + @"ς" : @"\u03C2", + @"σ" : @"\u03C3", + @"τ" : @"\u03C4", + @"υ" : @"\u03C5", + @"φ" : @"\u03C6", + @"χ" : @"\u03C7", + @"ψ" : @"\u03C8", + @"ω" : @"\u03C9", + @"ϑ" : @"\u03D1", + @"ϒ" : @"\u03D2", + @"ϖ" : @"\u03D6", + @"•" : @"\u2022", + @"…" : @"\u2026", + @"′" : @"\u2032", + @"″" : @"\u2033", + @"‾" : @"\u203E", + @"⁄" : @"\u2044", + @"℘" : @"\u2118", + @"ℑ" : @"\u2111", + @"ℜ" : @"\u211C", + @"™" : @"\u2122", + @"ℵ" : @"\u2135", + @"←" : @"\u2190", + @"↑" : @"\u2191", + @"→" : @"\u2192", + @"↓" : @"\u2193", + @"↔" : @"\u2194", + @"↵" : @"\u21B5", + @"⇐" : @"\u21D0", + @"⇑" : @"\u21D1", + @"⇒" : @"\u21D2", + @"⇓" : @"\u21D3", + @"⇔" : @"\u21D4", + @"∀" : @"\u2200", + @"∂" : @"\u2202", + @"∃" : @"\u2203", + @"∅" : @"\u2205", + @"∇" : @"\u2207", + @"∈" : @"\u2208", + @"∉" : @"\u2209", + @"∋" : @"\u220B", + @"∏" : @"\u220F", + @"∑" : @"\u2211", + @"−" : @"\u2212", + @"∗" : @"\u2217", + @"√" : @"\u221A", + @"∝" : @"\u221D", + @"∞" : @"\u221E", + @"∠" : @"\u2220", + @"∧" : @"\u2227", + @"∨" : @"\u2228", + @"∩" : @"\u2229", + @"∪" : @"\u222A", + @"∫" : @"\u222B", + @"∴" : @"\u2234", + @"∼" : @"\u223C", + @"≅" : @"\u2245", + @"≈" : @"\u2248", + @"≠" : @"\u2260", + @"≡" : @"\u2261", + @"≤" : @"\u2264", + @"≥" : @"\u2265", + @"⊂" : @"\u2282", + @"⊃" : @"\u2283", + @"⊄" : @"\u2284", + @"⊆" : @"\u2286", + @"⊇" : @"\u2287", + @"⊕" : @"\u2295", + @"⊗" : @"\u2297", + @"⊥" : @"\u22A5", + @"⋅" : @"\u22C5", + @"⌈" : @"\u2308", + @"⌉" : @"\u2309", + @"⌊" : @"\u230A", + @"⌋" : @"\u230B", + @"〈" : @"\u2329", + @"〉" : @"\u232A", + @"◊" : @"\u25CA", + @"♠" : @"\u2660", + @"♣" : @"\u2663", + @"♥" : @"\u2665", + @"♦" : @"\u2666" + }; }); } @end diff --git a/Example/GONMarkupParserSample.xcodeproj/project.pbxproj b/Example/GONMarkupParserSample.xcodeproj/project.pbxproj index 23692c2..a405660 100644 --- a/Example/GONMarkupParserSample.xcodeproj/project.pbxproj +++ b/Example/GONMarkupParserSample.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 401E32021B281142C6BABB70 /* libPods-defaults-GONMarkupParserSample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8E6D2CD1AD599D4565EAA3ED /* libPods-defaults-GONMarkupParserSample.a */; }; 5C0790A81ED74D0B0011FF0E /* GONMarkupStrong.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C0790A71ED74D0B0011FF0E /* GONMarkupStrong.m */; }; 5C1D1C2E19920D7100F7B642 /* GONMarkupParagrap.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C1D1C2D19920D7100F7B642 /* GONMarkupParagrap.m */; }; 5C2E11E41B8A146D0065D29C /* UIButton+GONMarkupParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C2E11E31B8A146D0065D29C /* UIButton+GONMarkupParser.m */; }; @@ -86,8 +87,6 @@ 5CE27199195B1412007FCF44 /* GONMarkupParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CE27191195B1412007FCF44 /* GONMarkupParser.m */; }; 5CE2719A195B1412007FCF44 /* GONMarkupFont.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CE27193195B1412007FCF44 /* GONMarkupFont.m */; }; 5CE2719B195B1412007FCF44 /* GONMarkupFont.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CE27193195B1412007FCF44 /* GONMarkupFont.m */; }; - 6C6DD8957B134FA9B1AE1824 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 17B85795BD5D4A4195265653 /* libPods.a */; }; - AD657A810CFC90EF7829443F /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 17B85795BD5D4A4195265653 /* libPods.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -101,7 +100,6 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 17B85795BD5D4A4195265653 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; 5C0790A61ED74D0B0011FF0E /* GONMarkupStrong.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GONMarkupStrong.h; path = ../Classes/GONMarkupStrong.h; sourceTree = ""; }; 5C0790A71ED74D0B0011FF0E /* GONMarkupStrong.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = GONMarkupStrong.m; path = ../Classes/GONMarkupStrong.m; sourceTree = ""; }; 5C1BA2E419BF45BD00E3D67C /* GONMarkupParser_Categories.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = GONMarkupParser_Categories.h; path = ../Classes/GONMarkupParser_Categories.h; sourceTree = ""; }; @@ -210,8 +208,9 @@ 5CE27191195B1412007FCF44 /* GONMarkupParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = GONMarkupParser.m; path = ../Classes/GONMarkupParser.m; sourceTree = ""; }; 5CE27192195B1412007FCF44 /* GONMarkupFont.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GONMarkupFont.h; path = ../Classes/GONMarkupFont.h; sourceTree = ""; }; 5CE27193195B1412007FCF44 /* GONMarkupFont.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = GONMarkupFont.m; path = ../Classes/GONMarkupFont.m; sourceTree = ""; }; - F78DE98B74DE149CC7A5ADC1 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; - FD6D14F3EF0F1EE075363E64 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; + 8E6D2CD1AD599D4565EAA3ED /* libPods-defaults-GONMarkupParserSample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-defaults-GONMarkupParserSample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + A11B08D3B67C671A7C1F41EB /* Pods-defaults-GONMarkupParserSample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-GONMarkupParserSample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-defaults-GONMarkupParserSample/Pods-defaults-GONMarkupParserSample.debug.xcconfig"; sourceTree = ""; }; + CB19407DB2362C93C6FF1BC5 /* Pods-defaults-GONMarkupParserSample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-GONMarkupParserSample.release.xcconfig"; path = "Pods/Target Support Files/Pods-defaults-GONMarkupParserSample/Pods-defaults-GONMarkupParserSample.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -223,7 +222,7 @@ 5CE27153195B11E0007FCF44 /* CoreGraphics.framework in Frameworks */, 5CE27155195B11E0007FCF44 /* UIKit.framework in Frameworks */, 5CE27151195B11E0007FCF44 /* Foundation.framework in Frameworks */, - 6C6DD8957B134FA9B1AE1824 /* libPods.a in Frameworks */, + 401E32021B281142C6BABB70 /* libPods-defaults-GONMarkupParserSample.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -234,13 +233,21 @@ 5CE27170195B11E0007FCF44 /* XCTest.framework in Frameworks */, 5CE27172195B11E0007FCF44 /* UIKit.framework in Frameworks */, 5CE27171195B11E0007FCF44 /* Foundation.framework in Frameworks */, - AD657A810CFC90EF7829443F /* libPods.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 2686016DECE5E515511864F6 /* Pods */ = { + isa = PBXGroup; + children = ( + A11B08D3B67C671A7C1F41EB /* Pods-defaults-GONMarkupParserSample.debug.xcconfig */, + CB19407DB2362C93C6FF1BC5 /* Pods-defaults-GONMarkupParserSample.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; 5C404BC91A1C90E0007DCB2C /* DefaultConfiguration */ = { isa = PBXGroup; children = ( @@ -467,7 +474,7 @@ 5CE27175195B11E0007FCF44 /* GONMarkupParserSampleTests */, 5CE2714F195B11E0007FCF44 /* Frameworks */, 5CE2714E195B11E0007FCF44 /* Products */, - 9ED8BC75C581B1C9016D9AE7 /* Pods */, + 2686016DECE5E515511864F6 /* Pods */, ); sourceTree = ""; }; @@ -488,7 +495,7 @@ 5CE27152195B11E0007FCF44 /* CoreGraphics.framework */, 5CE27154195B11E0007FCF44 /* UIKit.framework */, 5CE2716F195B11E0007FCF44 /* XCTest.framework */, - 17B85795BD5D4A4195265653 /* libPods.a */, + 8E6D2CD1AD599D4565EAA3ED /* libPods-defaults-GONMarkupParserSample.a */, ); name = Frameworks; sourceTree = ""; @@ -613,15 +620,6 @@ name = DefaultMarkup; sourceTree = ""; }; - 9ED8BC75C581B1C9016D9AE7 /* Pods */ = { - isa = PBXGroup; - children = ( - FD6D14F3EF0F1EE075363E64 /* Pods.debug.xcconfig */, - F78DE98B74DE149CC7A5ADC1 /* Pods.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -629,12 +627,10 @@ isa = PBXNativeTarget; buildConfigurationList = 5CE2717F195B11E0007FCF44 /* Build configuration list for PBXNativeTarget "GONMarkupParserSample" */; buildPhases = ( - EC3DF1B1D208418697196C2B /* Check Pods Manifest.lock */, + F5CFB22B9E5CC0864471E289 /* [CP] Check Pods Manifest.lock */, 5CE27149195B11E0007FCF44 /* Sources */, 5CE2714A195B11E0007FCF44 /* Frameworks */, 5CE2714B195B11E0007FCF44 /* Resources */, - AF75F26F4574437294323C3C /* Copy Pods Resources */, - 76B316C8E587F0981B66B953 /* Embed Pods Frameworks */, ); buildRules = ( ); @@ -649,12 +645,9 @@ isa = PBXNativeTarget; buildConfigurationList = 5CE27182195B11E0007FCF44 /* Build configuration list for PBXNativeTarget "GONMarkupParserSampleTests" */; buildPhases = ( - A00223591121399D271132D1 /* Check Pods Manifest.lock */, 5CE2716A195B11E0007FCF44 /* Sources */, 5CE2716B195B11E0007FCF44 /* Frameworks */, 5CE2716C195B11E0007FCF44 /* Resources */, - CA98D5286576877426AD6D21 /* Embed Pods Frameworks */, - 4987DEF503902DACA3129A7C /* Copy Pods Resources */, ); buildRules = ( ); @@ -731,94 +724,26 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 4987DEF503902DACA3129A7C /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 76B316C8E587F0981B66B953 /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - A00223591121399D271132D1 /* Check Pods Manifest.lock */ = { + F5CFB22B9E5CC0864471E289 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - AF75F26F4574437294323C3C /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( + inputFileListPaths = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - CA98D5286576877426AD6D21 /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - EC3DF1B1D208418697196C2B /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( ); - name = "Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-defaults-GONMarkupParserSample-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -999,7 +924,7 @@ }; 5CE27180195B11E0007FCF44 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FD6D14F3EF0F1EE075363E64 /* Pods.debug.xcconfig */; + baseConfigurationReference = A11B08D3B67C671A7C1F41EB /* Pods-defaults-GONMarkupParserSample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -1018,7 +943,7 @@ }; 5CE27181195B11E0007FCF44 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F78DE98B74DE149CC7A5ADC1 /* Pods.release.xcconfig */; + baseConfigurationReference = CB19407DB2362C93C6FF1BC5 /* Pods-defaults-GONMarkupParserSample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -1037,7 +962,6 @@ }; 5CE27183195B11E0007FCF44 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FD6D14F3EF0F1EE075363E64 /* Pods.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/GONMarkupParserSample.app/GONMarkupParserSample"; FRAMEWORK_SEARCH_PATHS = ( @@ -1061,7 +985,6 @@ }; 5CE27184195B11E0007FCF44 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F78DE98B74DE149CC7A5ADC1 /* Pods.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/GONMarkupParserSample.app/GONMarkupParserSample"; FRAMEWORK_SEARCH_PATHS = ( diff --git a/Example/GONMarkupParserSample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/GONMarkupParserSample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/GONMarkupParserSample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 92d7489..dc920bf 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,13 +1,20 @@ PODS: - LazyProperty (1.1.0) - - NSString+Color (1.1.3) + - "NSString+Color (1.1.3)" DEPENDENCIES: - LazyProperty - - NSString+Color + - "NSString+Color" + +SPEC REPOS: + https://github.com/cocoapods/specs.git: + - LazyProperty + - "NSString+Color" SPEC CHECKSUMS: LazyProperty: f48a27d1ded2b29771874d3b193fb9d41eae95e4 - NSString+Color: 08fbd0b4cda31fd8602a5030f6bf1cedfed98203 + "NSString+Color": 08fbd0b4cda31fd8602a5030f6bf1cedfed98203 + +PODFILE CHECKSUM: da4fe8d57558420c64da7bd826ddf7bd40be105f -COCOAPODS: 0.39.0 +COCOAPODS: 1.5.3 diff --git a/GONMarkupParser.podspec b/GONMarkupParser.podspec index f0a41f4..ce2cbb2 100644 --- a/GONMarkupParser.podspec +++ b/GONMarkupParser.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "GONMarkupParser" - s.version = "0.7.7" + s.version = "0.7.8" s.summary = "NSAttributedString generation from NSString using XML, that can be easily extended." s.platform = :ios, "7.0" s.description = <<-DESC diff --git a/README.md b/README.md index 6787660..5dc8cc5 100644 --- a/README.md +++ b/README.md @@ -303,23 +303,5 @@ No, definitely not. I was still able to push to GitHub yesterday. ## Contributors See the [Contributors page](https://github.com/nicolasgoutaland/GONMarkupParser/graphs/contributors) on github. -## Versions -[__0.7.7__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.7) : Fixed sample Podfile
-[__0.7.6__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.6) : Fixed a bug on NSParagraphStyle mutability
-[__0.7.5__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.5) : Fixed bugs on lists, Added support for strong tag
-[__0.7.4__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.4) : Fixed (again -_-) new line character bug on lists
-[__0.7.3__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.3) : Fixed new line character bug on lists
-[__0.7.2__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.2) : Fixed bug #21
-[__0.7.1__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.1) : Fixed warning #18
-[__0.7.0__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.0) : Fixed bug #15
-[__0.6.9__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6.9) : Fixed bug #12
-[__0.6.8__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6.8) : Fixed cocoapods import problem
-[__0.6.7__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6.7) : Added **color** attribute to **font** markup
-[__0.6.6__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6.6) : Added UIButton+GONMarkupParser category
-[__0.6.5__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6.5) : Updated HTML chars tables
-[__0.6.4__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6.4) : Updated HTML chars tables
-[__0.6.3__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6.3) : Fixed a bug in anchor support
-[__0.6.2__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6.2) : Added anchor support
-[__0.6.1__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6.1) : Added support for underline and strikethrough color
-[__0.6__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.6) : Added support for underline / strikethrough text
-[__0.5__](https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.5) : Initial release
+## Changelog +Changelog can be found [here](https://github.com/nicolasgoutaland/GONMarkupParser/blob/master/CHANGELOG.md)