Comments (10)
Found and issue related with recent change of "advance' signature (in fontAwesomeIconWithName). Could you update your source to support Index.advancedBy?
Thanks.
from fontawesome.swift.
same problem detected, any plans for update to swift2.0?
Thx
from fontawesome.swift.
Line 72 in FontAwesome.swift needs to be:
return name.rawValue.substringToIndex(name.rawValue.startIndex.advancedBy(1))
from fontawesome.swift.
There is already a fix for this in the 'swift-2.0' branch. I'm not sure why it hasn't been merged into master yet but until then you can set your podfile to:
pod 'FontAwesome.swift', :git => 'https://github.com/thii/FontAwesome.swift.git', :branch => 'swift-2.0'
from fontawesome.swift.
When i use this lib for display awesome, example: "self.title = String.fontAwesomeIconWithName(.Gift)". I get the next result:
Any idea?
from fontawesome.swift.
@abury thanks .. even I tried to submit the pull request - #39 (comment)
This is what worked for me when I tried to use Carthage:
github "thii/FontAwesome.swift" "swift-2.0"
from fontawesome.swift.
Sorry for the long wait. It has just been updated for Swift 2.0.
from fontawesome.swift.
Thanks @thii ! Love your work! 👍
from fontawesome.swift.
Hi, i'm new to swift/ios development. Can you provide a solution for cocoapod to load the swift 1.0 last commit (i'm using xcode 6)? Thank you in advance.
from fontawesome.swift.
@sagits You can specify version in your Podfile as below:
pod 'FontAwesome.swift', '~> 0.5.0'
from fontawesome.swift.
Related Issues (20)
- FontAwesome icon displayed as question mark - Swift
- Watch OS Support HOT 7
- icon + text = text becomes icon if text match icon name HOT 5
- Support coming for FontAwesome v5.13.1 HOT 15
- FA.swift showing strange icons after update HOT 4
- Cocoapods Says latest version 5.14.0 HOT 7
- used to work now completely broken HOT 2
- [iOS] Some images show question mark instead of actual icon HOT 3
- Retrieve image not work HOT 2
- update Enum file to include pro codes HOT 3
- xCode13 CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
- Navigation bar button with correct FA icon size
- FontAwsome Pro HOT 1
- Swift icons showing as Question Marks HOT 1
- Nil fontName leads to crash HOT 1
- FontAwesome 6.1 HOT 2
- Swift error HOT 1
- Request to bump iOS deployment target for Xcode 14.X build HOT 1
- New release? HOT 7
- Any support of Privacy Manifest? HOT 1
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 fontawesome.swift.