Unicode
public final class Unicode : CollationProtocolUnicode Collation that will compare two strings by using Unicode collation algorithm. If the locale is not specified, the current system locale will be used by default.
- 
                  
                  Specifies whether the collation is case-insenstive or not. Case-insensitive collation will treat ASCII uppercase and lowercase letters as equivalent. DeclarationSwift public func ignoreCase(_ ignoreCase: Bool) -> SelfParametersignoreCaseTrue for case-insenstivie; false for case-senstive. Return ValueThe Unicode Collation object. 
- 
                  
                  Specifies whether the collation ignore the accents or diacritics when comparing the strings or not. DeclarationSwift public func ignoreAccents(_ ignoreAccents: Bool) -> SelfParametersignoreAccentsTrue for accent-insenstivie; false for accent-senstive. Return ValueThe Unicode Collation object. 
- 
                  
                  Specifies the locale to allow the collation to compare strings appropriately base on the locale. DeclarationSwift public func locale(_ locale: String?) -> SelfParameterslocaleThe locale code which is an ISO-639 language code plus, optionally, an underscore and an ISO-3166 country code: “en”, “en_US”, “fr_CA”, etc. Specifing the locale will allow the collation to compare strings appropriately base on the locale. If not specified, the current system locale will be used by default. Return ValueThe Unicode Collation object. 
 Unicode Class Reference
        Unicode Class Reference