Skip to content

Commit 86c0338

Browse files
committed
Create EmojiProvider.swift
1 parent 65a8f66 commit 86c0338

File tree

2 files changed

+208
-0
lines changed

2 files changed

+208
-0
lines changed

AAInfographicsDemo.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
84903C8E2DB8D6A40029FE5A /* EmojiParticleAnimationVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84903C8D2DB8D6A40029FE5A /* EmojiParticleAnimationVC.swift */; };
120120
84903C9B2DB9F0680029FE5A /* BubbleChartOptionsComposer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84903C9A2DB9F0680029FE5A /* BubbleChartOptionsComposer.swift */; };
121121
84903C9D2DBA0BD20029FE5A /* AAChartView+ScreenRotation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84903C9C2DBA0BD20029FE5A /* AAChartView+ScreenRotation.swift */; };
122+
84903CA02DBA24B50029FE5A /* EmojiProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84903C9F2DBA24B50029FE5A /* EmojiProvider.swift */; };
122123
84A9FB7E28C9BC0E00240C11 /* AAScatter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84A9FB7C28C9BC0E00240C11 /* AAScatter.swift */; };
123124
84AE6B1F26A58380001F0755 /* AADateUTCTool.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84AE6B1E26A58380001F0755 /* AADateUTCTool.swift */; };
124125
84B68246266DB09100957FC5 /* AAChartSymbolConstant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84B68245266DB09100957FC5 /* AAChartSymbolConstant.swift */; };
@@ -369,6 +370,7 @@
369370
84903C8D2DB8D6A40029FE5A /* EmojiParticleAnimationVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiParticleAnimationVC.swift; sourceTree = "<group>"; };
370371
84903C9A2DB9F0680029FE5A /* BubbleChartOptionsComposer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BubbleChartOptionsComposer.swift; sourceTree = "<group>"; };
371372
84903C9C2DBA0BD20029FE5A /* AAChartView+ScreenRotation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "AAChartView+ScreenRotation.swift"; sourceTree = "<group>"; };
373+
84903C9F2DBA24B50029FE5A /* EmojiProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiProvider.swift; sourceTree = "<group>"; };
372374
84A9FB7C28C9BC0E00240C11 /* AAScatter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AAScatter.swift; sourceTree = "<group>"; };
373375
84AE6B1E26A58380001F0755 /* AADateUTCTool.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AADateUTCTool.swift; sourceTree = "<group>"; };
374376
84B68245266DB09100957FC5 /* AAChartSymbolConstant.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AAChartSymbolConstant.swift; sourceTree = "<group>"; };
@@ -647,6 +649,7 @@
647649
84526E342CF4621D00EB2563 /* XAxisYAxisTypeOptionsComposer.swift */,
648650
8437AE1F2DB5F11C003D4D84 /* MixedTypesChartOptionsComposer.swift */,
649651
84903C9A2DB9F0680029FE5A /* BubbleChartOptionsComposer.swift */,
652+
84903C9F2DBA24B50029FE5A /* EmojiProvider.swift */,
650653
);
651654
path = AAOptions;
652655
sourceTree = "<group>";
@@ -1086,6 +1089,7 @@
10861089
8441C0972C620ED400A6F784 /* CustomStyleForAreasplineChartComposer.swift in Sources */,
10871090
844007742B6F3FA00072FB66 /* MixedChartVC.swift in Sources */,
10881091
8441C0952C620AC900A6F784 /* CustomStyleForSplineChartVC.swift in Sources */,
1092+
84903CA02DBA24B50029FE5A /* EmojiProvider.swift in Sources */,
10891093
845BABF12D030318004C15D4 /* OfficialChartSample.swift in Sources */,
10901094
844007762B6F41A50072FB66 /* SpecialChartComposer.swift in Sources */,
10911095
5860368820ADD4DC745A2997 /* AreaChartOptionsComposer.swift in Sources */,
Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
//
2+
// EmojiProvider.swift
3+
// AAInfographicsDemo
4+
//
5+
// Created by AnAn on 2025/4/24.
6+
// Copyright © 2025 An An. All rights reserved.
7+
//
8+
9+
import UIKit
10+
11+
//https://getemoji.com
12+
class EmojiProvider: NSObject {
13+
class func clothingAndAccessories() -> [String] {
14+
[
15+
"🧳",
16+
"🌂",
17+
"☂️",
18+
"🧵",
19+
"🪡",
20+
"🪢",
21+
"🪭",
22+
"🧶",
23+
"👓",
24+
"🕶",
25+
"🥽",
26+
"🥼",
27+
"🦺",
28+
"👔",
29+
"👕",
30+
"👖",
31+
"🧣",
32+
"🧤",
33+
"🧥",
34+
"🧦",
35+
"👗",
36+
"👘",
37+
"🥻",
38+
"🩴",
39+
"🩱",
40+
"🩲",
41+
"🩳",
42+
"👙",
43+
"👚",
44+
"👛",
45+
"👜",
46+
"👝",
47+
"🎒",
48+
"👞",
49+
"👟",
50+
"🥾",
51+
"🥿",
52+
"👠",
53+
"👡",
54+
"🩰",
55+
"👢",
56+
"👑",
57+
"👒",
58+
"🎩",
59+
"🎓",
60+
"🧢",
61+
"",
62+
"🪖",
63+
"💄",
64+
"💍",
65+
"💼",
66+
]
67+
}
68+
69+
class func foodAndDrink() -> [String] {
70+
[
71+
"🍎",
72+
"🍐",
73+
"🍊",
74+
"🍋",
75+
"🍋‍🟩",
76+
"🍌",
77+
"🍉",
78+
"🍇",
79+
"🍓",
80+
"🫐",
81+
"🍈",
82+
"🍒",
83+
"🍑",
84+
"🥭",
85+
"🍍",
86+
"🥥",
87+
"🥝",
88+
"🍅",
89+
"🍆",
90+
"🥑",
91+
"🥦",
92+
"🫛",
93+
"🥬",
94+
"🫜",
95+
"🥒",
96+
"🌶",
97+
"🫑",
98+
"🌽",
99+
"🥕",
100+
"🫒",
101+
"🧄",
102+
"🧅",
103+
"🫚",
104+
"🥔",
105+
"🍠",
106+
"🫘",
107+
"🥐",
108+
"🥯",
109+
"🍞",
110+
"🥖",
111+
"🥨",
112+
"🧀",
113+
"🥚",
114+
"🍳",
115+
"🧈",
116+
"🥞",
117+
"🧇",
118+
"🥓",
119+
"🥩",
120+
"🍗",
121+
"🍖",
122+
"🦴",
123+
"🌭",
124+
"🍔",
125+
"🍟",
126+
"🍕",
127+
"🫓",
128+
"🥪",
129+
"🥙",
130+
"🧆",
131+
"🌮",
132+
"🌯",
133+
"🫔",
134+
"🥗",
135+
"🥘",
136+
"🫕",
137+
"🥫",
138+
"🍝",
139+
"🍜",
140+
"🍲",
141+
"🍛",
142+
"🍣",
143+
"🍱",
144+
"🥟",
145+
"🦪",
146+
"🍤",
147+
"🍙",
148+
"🍚",
149+
"🍘",
150+
"🍥",
151+
"🥠",
152+
"🥮",
153+
"🍢",
154+
"🍡",
155+
"🍧",
156+
"🍨",
157+
"🍦",
158+
"🥧",
159+
"🧁",
160+
"🍰",
161+
"🎂",
162+
"🍮",
163+
"🍭",
164+
"🍬",
165+
"🍫",
166+
"🍿",
167+
"🍩",
168+
"🍪",
169+
"🌰",
170+
"🥜",
171+
"🍯",
172+
"🥛",
173+
"🍼",
174+
"🫖",
175+
"☕️",
176+
"🍵",
177+
"🧃",
178+
"🥤",
179+
"🧋",
180+
"🫙",
181+
"🍶",
182+
"🍺",
183+
"🍻",
184+
"🥂",
185+
"🍷",
186+
"🫗",
187+
"🥃",
188+
"🍸",
189+
"🍹",
190+
"🧉",
191+
"🍾",
192+
"🧊",
193+
"🥄",
194+
"🍴",
195+
"🍽",
196+
"🥣",
197+
"🥡",
198+
"🥢",
199+
"🧂",
200+
]
201+
202+
}
203+
204+
}

0 commit comments

Comments
 (0)