Skip to content

Commit

Permalink
Fixed class names.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Jun 11, 2022
1 parent b30b339 commit 0155346
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SafeSFSymbols.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'SafeSFSymbols'
s.version = '1.1.0'
s.version = '1.1.2'
s.summary = 'Easy usage SFSymbols with static types. If symbol not available, compiler will show warning.'
s.homepage = 'https://github.com/sparrowcode/SafeSFSymbols'
s.source = { :git => 'https://github.com/sparrowcode/SafeSFSymbols.git', :tag => s.version }
Expand Down
10 changes: 5 additions & 5 deletions Sources/SafeSFSymbols/Base/ImageExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extension Image {

- parameter symbol: Symbol.
*/
public init(_ symbol: SafeSFSymbols) {
public init(_ symbol: SafeSFSymbol) {
self.init(systemName: symbol.name)
}
}
Expand All @@ -49,7 +49,7 @@ extension NSImage {

- parameter symbol: Symbol.
*/
public convenience init(_ symbol: SafeSFSymbols) {
public convenience init(_ symbol: SafeSFSymbol) {
self.init(systemSymbolName: symbol.name, accessibilityDescription: nil)!
}
#endif
Expand All @@ -67,7 +67,7 @@ extension UIImage {
- parameter symbol: Symbol.
*/
@available(iOS 13, tvOS 13, *)
public convenience init(_ symbol: SafeSFSymbols) {
public convenience init(_ symbol: SafeSFSymbol) {
self.init(systemName: symbol.name)!
}

Expand All @@ -79,7 +79,7 @@ extension UIImage {
- parameter weight: Weight of font of image.
*/
@available(iOS 13, tvOS 13, *)
public convenience init(_ symbol: SafeSFSymbols, pointSize: CGFloat, weight: UIImage.SymbolWeight) {
public convenience init(_ symbol: SafeSFSymbol, pointSize: CGFloat, weight: UIImage.SymbolWeight) {
let configuration = UIImage.SymbolConfiguration(pointSize: pointSize, weight: weight)
self.init(systemName: symbol.name, withConfiguration: configuration)!
}
Expand All @@ -91,7 +91,7 @@ extension UIImage {
- parameter font: Font of image.
*/
@available(iOS 13, tvOS 13, *)
public convenience init(_ symbol: SafeSFSymbols, font: UIFont) {
public convenience init(_ symbol: SafeSFSymbol, font: UIFont) {
let configuration = UIImage.SymbolConfiguration(font: font)
self.init(systemName: symbol.name, withConfiguration: configuration)!
}
Expand Down

0 comments on commit 0155346

Please sign in to comment.