PrideChung / FontAwesomeKit

Icon font library for iOS. Currently supports Font-Awesome, Foundation icons, Zocial, and ionicons.
MIT License
2.81k stars 308 forks source link

Swift 2 Release #60

Open cohix opened 9 years ago

cohix commented 9 years ago

Is there a swift 2 release being planned?

PrideChung commented 9 years ago

I'm kind of reluctant to rewrite this whole project in Swift because I know there're lots of pure Objective-C projects using FAK, and their maintainer would definitely not willing to include a big Swift runtime just for a small icon font library. As far as I can tell, interacting with FAK in Swift should works fine, well, except the annoying class prefix. For now, I'm more willing to use Objective-C's new features like nullability and generics to make this project more Swift friendly.

cohix commented 9 years ago

Reasonable answer. Good idea about the new obj-c features. Thanks for your hard work!

MonadicNomad commented 9 years ago

I just installed it (manually) into my Swift 2 iOS 8 target. It took about 10 minutes from pushing 'download' to seeing the icons in the simulator. I already had a bridging header for other obj-c packages. It's lovely. Thanks for this great package!