Skip to content

gb-6k-house/YsSwift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

travis-image version-image platform-image dowload-image lic-image

Documentation in Chinese

中文说明



Introduction

YsSwift is a pure-Swift library with some sub-modules. Variable functions in this library. For example, there is a UIImage category with a function to resize image size. You can read this doc , If you want get more information.

I come here because I want ...

  • Use swift to developing
  • Variable function for String
  • Variable function for UIImage. For excample, Resizing Image size
  • Ligtly and extensional library for me to dowload image from web.

Sub-modules

  • YsSwift

    This library supply some normal Swift base functions, likes String catgory, Data catgory etc. GO

  • YsSwift/Rabbit

    Ligtly and extensional library for downloading and caching images from the web, is similar to SDWebImage or Nuke. GO

Installation

YsSwift version vs Swift version

Below is a table that shows which version of YsSwift you should use for your Swift version.

Swift YsSwfit Rabbit
4.X >= 1.1.0 >= 1.1.0
3.X >=0.3.3 >=0.3.3

Search with pod search YsSwift

# Podfile
use_frameworks!

target 'YOUR_TARGET_NAME' do
    pod 'YsSwift'
end

target 'YOUR_TARGET_NAME' do
    pod 'YsSwift/Rabbit'
end

Usage