-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
1,607 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
# UIImageSymbols | ||
|
||
[![CI Status](https://img.shields.io/travis/Jianqiu Xiao/UIImageSymbols.svg?style=flat)](https://travis-ci.org/Jianqiu Xiao/UIImageSymbols) | ||
A SF Symbols static variables extension of UIImage. | ||
|
||
[![CI Status](https://img.shields.io/travis/swordray/UIImageSymbols.svg?style=flat)](https://travis-ci.org/swordray/UIImageSymbols) | ||
[![Version](https://img.shields.io/cocoapods/v/UIImageSymbols.svg?style=flat)](https://cocoapods.org/pods/UIImageSymbols) | ||
[![License](https://img.shields.io/cocoapods/l/UIImageSymbols.svg?style=flat)](https://cocoapods.org/pods/UIImageSymbols) | ||
[![Platform](https://img.shields.io/cocoapods/p/UIImageSymbols.svg?style=flat)](https://cocoapods.org/pods/UIImageSymbols) | ||
|
||
## Example | ||
|
||
To run the example project, clone the repo, and run `pod install` from the Example directory first. | ||
|
||
## Requirements | ||
|
||
## Installation | ||
|
@@ -20,6 +18,14 @@ it, simply add the following line to your Podfile: | |
pod 'UIImageSymbols' | ||
``` | ||
|
||
## Usage | ||
|
||
```swift | ||
let image: UIImage? = .cCircle // UIImage(systemName: "c.circle") | ||
let image: UIImage? = .eCircleFill // UIImage(systemName: "e.circle.fill") | ||
let image: UIImage? = ._11CircleFill // UIImage(systemName: "11.circle.fill") | ||
``` | ||
|
||
## Author | ||
|
||
Jianqiu Xiao, [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,26 +9,24 @@ | |
Pod::Spec.new do |s| | ||
s.name = 'UIImageSymbols' | ||
s.version = '0.1.0' | ||
s.summary = 'A short description of UIImageSymbols.' | ||
s.summary = 'A SF Symbols static variables extension of UIImage.' | ||
|
||
# This description is used to generate tags and improve search results. | ||
# * Think: What does it do? Why did you write it? What is the focus? | ||
# * Try to keep it short, snappy and to the point. | ||
# * Write the description between the DESC delimiters below. | ||
# * Finally, don't worry about the indent, CocoaPods strips it! | ||
|
||
s.description = <<-DESC | ||
TODO: Add long description of the pod here. | ||
DESC | ||
s.description = s.summary * 2 | ||
|
||
s.homepage = 'https://github.com/Jianqiu Xiao/UIImageSymbols' | ||
s.homepage = 'https://github.com/swordray/UIImageSymbols' | ||
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' | ||
s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
s.author = { 'Jianqiu Xiao' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/Jianqiu Xiao/UIImageSymbols.git', :tag => s.version.to_s } | ||
s.source = { :git => 'https://github.com/swordray/UIImageSymbols.git', :tag => s.version.to_s } | ||
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>' | ||
|
||
s.ios.deployment_target = '8.0' | ||
s.ios.deployment_target = '13.0' | ||
|
||
s.source_files = 'UIImageSymbols/Classes/**/*' | ||
|
||
|
@@ -39,4 +37,6 @@ TODO: Add long description of the pod here. | |
# s.public_header_files = 'Pod/Classes/**/*.h' | ||
# s.frameworks = 'UIKit', 'MapKit' | ||
# s.dependency 'AFNetworking', '~> 2.3' | ||
|
||
s.swift_versions = '5.1' | ||
end |
Empty file.
Oops, something went wrong.