Comments (9)
I'll need to look into this, what version of Swift are you using?
from emojica.
Swift 3.0
from emojica.
Flags work fine on my side, using:
- Xcode 8.3.3 (8E3004b)
- Swift 3.1
- iOS 10.3
Twemoji flags even work without modifications to filenames.
Could you tell me step-by-step how I'd be able to reproduce your issue? It might be an easy fix.
from emojica.
Tomorrow, I will provide step by step implementation, what I have implemented so far.
Till then, can you send me demo? if you have created one? Or otherwise that is fine.
from emojica.
You can test the functionality by using the example app provided in the repo. I've mainly run the project through the .xcworkspace
so just open the workspace, import the image set you're intending to use, and run the project from there.
from emojica.
There is Problem in generating charCode from imageCode i.e. "1f1e8-1f1f3" in view controller didSelectItemAt of collection view.
Steps:
if you convert "1f1e8" then charCode and Unicode both generated but if you used "1f1e8-1f1f3" then charter-code not generated also not a Unicode from it.
at this point need some other solution for parsing image name to charter code.
all this problem having with only "-" this signed have in image name.
ex.
*) "23-20e3"
*) "23-20e3"
*) "30-20e3"
*) "32-20e3"
*) "33-20e3"
*) "34-20e3"
*) "35-20e3"
*) "36-20e3"
*) "37-20e3"
*) "38-20e3"
*) "39-20e3"
*) "1f1e9-1f1ea" and all flag have same code patter.
from emojica.
@narvindsingh, could you elaborate slightly?
Do you mean that flags are converted but as regional indicator symbols and not as complete flags?
Or that all characters with modifiers fail to convert?
from emojica.
Sure i'll elaborate,
No not like that in that character code in generate for the unicode "1f1e8-1f1f3".
ex. if you want to Convert this name of image "1f170" for this
CharCode is : 127344,
Unicode is : ""\u{0001F170}""
this fine but if you press any flag in that charcode is not generated that why unicode also is not generated.
In that problem is "1f1e8-1f1f3" there is 2 image name 1f1e8 and 1f1f3 that can't be parse this is problem .
from emojica.
charcode is not generated that why unicode also is not generated
What do you mean by that Unicode is not generated?
In that problem is "1f1e8-1f1f3" there is 2 image name 1f1e8 and 1f1f3 that can't be parse this is problem
The framework takes care of this. As long as two regional indicator symbols immediately follow each other, the framework replaces that sequence with the image named "1f1xx-1f1xx".
Just try the example app, it works exactly as it should there.
from emojica.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emojica.