YYText in swift project

Hi guys,

how can I install manually YYText framework in a swift project?

@rufy. Thanks very much for your question! If you don’t plan to use a dependency manager like Carthage, then I would suggest you go to the project page on github:

https://github.com/ibireme/YYText

and from there, scroll down, and you’ll see instructions on how to install it into your Xcode project. Here they are to save you some time :slight_smile: :

Manually

Download all the files in the YYText subdirectory.
Add the source files to your Xcode project.
Link with required frameworks:
    UIKit
    CoreFoundation
    CoreText
    QuartzCore
    Accelerate
    MobileCoreServices
Import YYText.h.

Notice

You may add YYImage or YYWebImage to your project if you want to support animated image (GIF/APNG/WebP).

I hope this helps!

All the best!