| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- //
- // OverrideEmojiDataSource.swift
- // LoopKitUI
- //
- // Created by Michael Pangburn on 1/7/19.
- // Copyright ยฉ 2019 LoopKit Authors. All rights reserved.
- //
- func OverrideSymbolInputController() -> EmojiInputController {
- return EmojiInputController.instance(withEmojis: OverrideEmojiDataSource())
- }
- private final class OverrideEmojiDataSource: EmojiDataSource {
- private static let activity = [
- "๐ถโโ๏ธ", "๐ถโโ๏ธ", "๐โโ๏ธ", "๐โโ๏ธ", "๐", "๐บ",
- "โฝ๏ธ", "๐", "๐", "โพ๏ธ", "๐ฅ", "๐พ",
- "๐", "๐", "๐ฅ", "๐ณ", "๐", "๐ธ",
- "๐", "๐", "๐ฅ", "๐", "โณ๏ธ", "๐น",
- "๐ฅ", "๐ฅ", "๐น", "โธ", "๐ฅ", "๐ท",
- "โท", "๐", "๐๏ธโโ๏ธ", "๐๏ธโโ๏ธ", "๐คผโโ๏ธ", "๐คผโโ๏ธ",
- "๐คธโโ๏ธ", "๐คธโโ๏ธ", "โน๏ธโโ๏ธ", "โน๏ธโโ๏ธ", "๐คบ", "๐คพโโ๏ธ",
- "๐คพโโ๏ธ", "๐๏ธโโ๏ธ", "๐๏ธโโ๏ธ", "๐", "๐งโโ๏ธ", "๐งโโ๏ธ",
- "๐โโ๏ธ", "๐โโ๏ธ", "๐โโ๏ธ", "๐โโ๏ธ", "๐คฝโโ๏ธ", "๐คฝโโ๏ธ",
- "๐ฃโโ๏ธ", "๐ฃโโ๏ธ", "๐งโโ๏ธ", "๐งโโ๏ธ", "๐ตโโ๏ธ", "๐ตโโ๏ธ",
- "๐ดโโ๏ธ", "๐ดโโ๏ธ", "๐ช", "๐คนโโ๏ธ", "๐คนโโ๏ธ", "๐ญ",
- "๐ค", "๐ฏ", "๐ณ", "๐ฅพ", "โบ๏ธ", "๐",
- ]
- private static let condition = [
- "๐ค", "๐คข", "๐คฎ", "๐ท", "๐ค", "๐ฐ",
- "๐ฅต", "๐ฅถ", "๐", "๐งโโ๏ธ", "๐งโโ๏ธ", "๐
",
- "๐", "๐ธ", "๐","โฐ", "๐", "๐",
- "โ๏ธ", "๐ข",
- ]
- private static let other = [
- "โ", "โ", "โฌ๏ธ", "โฌ๏ธ",
- "โ๏ธ", "โ", "โผ๏ธ", "โ๏ธ", "โ", "โ ๏ธ",
- "0๏ธโฃ", "1๏ธโฃ", "2๏ธโฃ", "3๏ธโฃ", "4๏ธโฃ", "5๏ธโฃ",
- "6๏ธโฃ", "7๏ธโฃ", "8๏ธโฃ", "9๏ธโฃ", "๐",
- ]
- let sections: [EmojiSection]
- init() {
- sections = [
- EmojiSection(
- title: LocalizedString("Activity", comment: "The title for the custom preset emoji activity section"),
- items: type(of: self).activity,
- indexSymbol: " ๐โโ๏ธ "
- ),
- EmojiSection(
- title: LocalizedString("Condition", comment: "The title for the custom preset emoji condition section"),
- items: type(of: self).condition,
- indexSymbol: "๐ค"
- ),
- EmojiSection(
- title: LocalizedString("Other", comment: "The title for custom preset emoji miscellaneous section"),
- items: type(of: self).other,
- indexSymbol: "โฏ "
- )
- ]
- }
- }
|