Giter VIP home page Giter VIP logo

Comments (10)

kronik avatar kronik commented on May 27, 2024

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.

japarrado avatar japarrado commented on May 27, 2024

same problem detected, any plans for update to swift2.0?
Thx

from fontawesome.swift.

ryanriley avatar ryanriley commented on May 27, 2024

Line 72 in FontAwesome.swift needs to be:

return name.rawValue.substringToIndex(name.rawValue.startIndex.advancedBy(1))

from fontawesome.swift.

abury avatar abury commented on May 27, 2024

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.

japarrado avatar japarrado commented on May 27, 2024

When i use this lib for display awesome, example: "self.title = String.fontAwesomeIconWithName(.Gift)". I get the next result:
captura de pantalla 2015-09-21 a las 12 55 03

Any idea?

from fontawesome.swift.

Daemon-Devarshi avatar Daemon-Devarshi commented on May 27, 2024

@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.

thii avatar thii commented on May 27, 2024

Sorry for the long wait. It has just been updated for Swift 2.0.

from fontawesome.swift.

abury avatar abury commented on May 27, 2024

Thanks @thii ! Love your work! 👍

from fontawesome.swift.

sagits avatar sagits commented on May 27, 2024

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.

thii avatar thii commented on May 27, 2024

@sagits You can specify version in your Podfile as below:
pod 'FontAwesome.swift', '~> 0.5.0'

from fontawesome.swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.