Skip to content

Commit

Permalink
Merge pull request #33 from Automattic/develop
Browse files Browse the repository at this point in the history
Bring master to current
  • Loading branch information
etoledom authored Jun 25, 2018
2 parents bb322d6 + 05e5d15 commit b5c4256
Show file tree
Hide file tree
Showing 5 changed files with 285 additions and 5 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0
2 changes: 1 addition & 1 deletion Gridicons.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Gridicons"
s.version = "0.13"
s.version = "0.16"
s.summary = "Gridicons is a tiny framework which generates Gridicon images at any resolution."

s.homepage = "http://apps.wordpress.com"
Expand Down
9 changes: 9 additions & 0 deletions Gridicons/Gridicons/Gridicons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public enum GridiconType: Int {
case plus
case plugins
case play
case plans
case phone
case pencil
case pause
Expand All @@ -70,6 +71,7 @@ public enum GridiconType: Int {
case nextPage
case mySitesHorizon
case mySites
case multipleUsers
case money
case minusSmall
case minus
Expand All @@ -82,6 +84,7 @@ public enum GridiconType: Int {
case location
case listUnordered
case listOrdered
case listOrderedRTL
case listCheckmark
case linkBreak
case link
Expand Down Expand Up @@ -332,6 +335,8 @@ public final class Gridicon: NSObject {
return GridiconsGenerated.imageOfGridiconsplugins(size: size)
case .play:
return GridiconsGenerated.imageOfGridiconsplay(size: size)
case .plans:
return GridiconsGenerated.imageOfGridiconsplans(size: size)
case .phone:
return GridiconsGenerated.imageOfGridiconsphone(size: size)
case .pencil:
Expand All @@ -354,6 +359,8 @@ public final class Gridicon: NSObject {
return GridiconsGenerated.imageOfGridiconsmysites(size: size)
case .mySitesHorizon:
return GridiconsGenerated.imageOfGridiconsmysiteshorizon(size: size)
case .multipleUsers:
return GridiconsGenerated.imageOfGridiconsmultipleusers(size: size)
case .money:
return GridiconsGenerated.imageOfGridiconsmoney(size: size)
case .minus:
Expand All @@ -378,6 +385,8 @@ public final class Gridicon: NSObject {
return GridiconsGenerated.imageOfGridiconslistunordered(size: size)
case .listOrdered:
return GridiconsGenerated.imageOfGridiconslistordered(size: size)
case .listOrderedRTL:
return GridiconsGenerated.imageOfGridiconslistorderedrtl(size: size)
case .listCheckmark:
return GridiconsGenerated.imageOfGridiconslistcheckmark(size: size)
case .link:
Expand Down
Loading

0 comments on commit b5c4256

Please sign in to comment.