sweetmandm / ionicons-ios Goto Github PK
View Code? Open in Web Editor NEWEasily use ionicons in your native SDK iOS projects
Easily use ionicons in your native SDK iOS projects
Would be nice!
I bumped into this project from https://github.com/nmattisson/DropdownMenu . Instead of using the "ionicons" package bundled with the example in that project, I tried using the version hosted here (which I assume is the original one). Which is when I noticed there are differences in the versions. The version bundled with DropdownMenu has method signature for creating a label which also takes a "withLabel" parameter, while the current one hosted here does not. Created an issue here in case future visitors bump into the same issue; not sure who is to blame. Either DropdownMenu uses and old or unofficial release, or the version here is not the most current one.
If you are using dynamic frameworks, the app will not be able to find the font file (because it is in the framework bundle). Adding
Frameworks/ionicons.framework/ionicons.ttf
to your Info.plist instead fixes it. Readme should be updated to reflect this (using dynamic frameworks with Cocoa Pods is currently all or nothing, which means if any of your pods require it you are going to have to use it with ionicons).
I think the "icon_ios7_chatboxes" glyph "\ue679" is not working in the current version. If I initialize an UIImage or a UILabel with the symbol, nothing is displayed. Other glyphs work fine.
Hi,
Current version of ionicons is 2.0.1 but Cocoapods are listing 2.0
only. When pod install
runs cocoapods try to find version 2.0
and nothing happens.
But if you put pod 'ionicons', '~> 2.0.1'
in Podfile
everything works fine.
Is this a bug?
I can tackle this if it's not a trivial change.
Im getting the above compile time error simply when using ionicons pod. The error is located in file ioniconTests.m line #9. If I remove the tests file from the compile sources the error goes away. Seems this issue is new as I was previously using ionicons perfectly fine.
I removed ionicons from Podfile and pod install worked. Did not work when ionicons was included.
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
/Users/xxxxxx/.rvm/gems/ruby-2.2.0/bin/pod install
Report
What did you do?
sudo gem install cocoapods --> 0.38.2
pod install
What did you expect to happen?
install pods
What happened instead?
ArgumentError - comparison of NilClass with String failed etc.
Stack
CocoaPods : 0.38.2
Ruby : ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
RubyGems : 2.4.8
Host : Mac OS X 10.10.4 (14E46)
Xcode : 6.4 (6E35b)
Git : git version 2.3.2 (Apple Git-55)
Ruby lib dir : /Users/xxxxxx/.rvm/rubies/ruby-2.2.0/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 5b6a7f6d9ee002d3cf257ffb4d75bcfd062bd61e
Plugins
cocoapods-plugins : 0.4.2
cocoapods-stats : 0.5.3
cocoapods-trunk : 0.6.1
cocoapods-try : 0.4.5
Podfile
platform :ios, '8.0'
pod 'pop', '> 1.0'> 2.6.0'
pod 'ChameleonFramework'
pod 'AMWaveTransition'
pod 'DACircularProgress'
pod 'EAIntroView', '
pod 'SDWebImage', '>3.6'> 2.0'
pod 'DAAppsViewController'
pod 'DateTools'
pod 'Nimble-CoreData'
pod 'AFNetworking', '
pod 'DZNWebViewController'
pod 'YKMediaPlayerKit'
pod 'ionicons'
Error
ArgumentError - comparison of NilClass with String failed
/Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer/specs_state.rb:54:in sort' /Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer/specs_state.rb:54:in
print'
/Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:580:in block in generate_sandbox_state' /Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/user_interface.rb:59:in
section'
/Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:577:in generate_sandbox_state' /Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:73:in
analyze'
/Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:210:in analyze' /Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:133:in
block in resolve_dependencies'
/Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/user_interface.rb:59:in section' /Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:132:in
resolve_dependencies'
/Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:104:in install!' /Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:71:in
run_install_with_update'
/Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:101:in run' /Users/xxxxxx/.rvm/gems/ruby-2.2.0/gems/claide-0.9.1/lib/claide/command.rb:312:in
run'
/Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/lib/cocoapods/command.rb:48:in run' /Users/xxxxxx/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-0.38.2/bin/pod:44:in
<top (required)>'
/Users/xxxxxx/.rvm/gems/ruby-2.2.0/bin/pod:23:in load' /Users/xxxxxx/.rvm/gems/ruby-2.2.0/bin/pod:23:in
eval' /Users/xxxxxx/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in
'Is there any way to use ionicons directly from the storyboard?
Are there any known issues with installation through cocoapods (or otherwise)?
I've followed the installation steps, yet no icons show up with any of the three methods described.
cocoapods version 0.28.0
ionicons version 1.0
Xcode 5
I've added the font file to info.plist
No errors show up in the console.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.