Skip to content

Commit

Permalink
[Fix]: fix reuseidentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ikbum committed May 17, 2024
1 parent 32f5e32 commit 05568c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions Sources/Sopkathon-iOS-Extension/Extensions/NSObject+.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import UIKit

public protocol ReuseIdentifier {
static var reuseIdentifier: String { get }
}

extension NSObject: ReuseIdentifier {
public static var reuseIdentifier: String {
public extension NSObject {
static var reuseIdentifier: String {
return String(describing: self)
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit

public extension UIStackView {
func addArrangeSubViews(_ views: UIView...) {
func addArrangeSubviews(_ views: UIView...) {
views.forEach { self.addArrangedSubview($0) }
}
}

0 comments on commit 05568c5

Please sign in to comment.