I've found that in pure swift environments (in my case, a WatchKit app extension, where the FontAwesome library was in another dynamic framework), loading the iconStrings fail, due to the hex string conversion (In ObjC you can do "\uf02" but in Swift you must do "\u{f102}")
If there is a better solution that doesn't require having to add a swift file with the newer-syntax hex strings, I'm all for it. I just made this to fit into my project, and thought it might be useful for others.
Note that I haven't added the swift file to the .podspec as we don't want to force anyone's project to start including the swift runtime.
I've found that in pure swift environments (in my case, a WatchKit app extension, where the FontAwesome library was in another dynamic framework), loading the iconStrings fail, due to the hex string conversion (In ObjC you can do "\uf02" but in Swift you must do "\u{f102}")
If there is a better solution that doesn't require having to add a swift file with the newer-syntax hex strings, I'm all for it. I just made this to fit into my project, and thought it might be useful for others.
Note that I haven't added the swift file to the .podspec as we don't want to force anyone's project to start including the swift runtime.