From 4758ad5877d5e2d50fa7f0f453de95c105275eb7 Mon Sep 17 00:00:00 2001 From: ensan Date: Wed, 25 Aug 2021 12:17:07 +0900 Subject: [PATCH] add public initializer --- Sources/KaomojiParser/KaomojiParser.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/KaomojiParser/KaomojiParser.swift b/Sources/KaomojiParser/KaomojiParser.swift index 6d3aa0e..9fdb332 100644 --- a/Sources/KaomojiParser/KaomojiParser.swift +++ b/Sources/KaomojiParser/KaomojiParser.swift @@ -1,6 +1,8 @@ import Foundation public struct KaomojiParser { + public init() {} + func isKaomojiMainCharacter(_ unicodeScalar: UnicodeScalar) -> Bool { if CharacterSet.punctuationCharacters.contains(unicodeScalar){ return true