Skip to content

Commit 0155346

Browse files
committed
Fixed class names.
1 parent b30b339 commit 0155346

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

SafeSFSymbols.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'SafeSFSymbols'
4-
s.version = '1.1.0'
4+
s.version = '1.1.2'
55
s.summary = 'Easy usage SFSymbols with static types. If symbol not available, compiler will show warning.'
66
s.homepage = 'https://github.com/sparrowcode/SafeSFSymbols'
77
s.source = { :git => 'https://github.com/sparrowcode/SafeSFSymbols.git', :tag => s.version }

Sources/SafeSFSymbols/Base/ImageExtension.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extension Image {
3030

3131
- parameter symbol: Symbol.
3232
*/
33-
public init(_ symbol: SafeSFSymbols) {
33+
public init(_ symbol: SafeSFSymbol) {
3434
self.init(systemName: symbol.name)
3535
}
3636
}
@@ -49,7 +49,7 @@ extension NSImage {
4949

5050
- parameter symbol: Symbol.
5151
*/
52-
public convenience init(_ symbol: SafeSFSymbols) {
52+
public convenience init(_ symbol: SafeSFSymbol) {
5353
self.init(systemSymbolName: symbol.name, accessibilityDescription: nil)!
5454
}
5555
#endif
@@ -67,7 +67,7 @@ extension UIImage {
6767
- parameter symbol: Symbol.
6868
*/
6969
@available(iOS 13, tvOS 13, *)
70-
public convenience init(_ symbol: SafeSFSymbols) {
70+
public convenience init(_ symbol: SafeSFSymbol) {
7171
self.init(systemName: symbol.name)!
7272
}
7373

@@ -79,7 +79,7 @@ extension UIImage {
7979
- parameter weight: Weight of font of image.
8080
*/
8181
@available(iOS 13, tvOS 13, *)
82-
public convenience init(_ symbol: SafeSFSymbols, pointSize: CGFloat, weight: UIImage.SymbolWeight) {
82+
public convenience init(_ symbol: SafeSFSymbol, pointSize: CGFloat, weight: UIImage.SymbolWeight) {
8383
let configuration = UIImage.SymbolConfiguration(pointSize: pointSize, weight: weight)
8484
self.init(systemName: symbol.name, withConfiguration: configuration)!
8585
}
@@ -91,7 +91,7 @@ extension UIImage {
9191
- parameter font: Font of image.
9292
*/
9393
@available(iOS 13, tvOS 13, *)
94-
public convenience init(_ symbol: SafeSFSymbols, font: UIFont) {
94+
public convenience init(_ symbol: SafeSFSymbol, font: UIFont) {
9595
let configuration = UIImage.SymbolConfiguration(font: font)
9696
self.init(systemName: symbol.name, withConfiguration: configuration)!
9797
}

0 commit comments

Comments
 (0)