Skip to content

Commit

Permalink
minor update for fresh Swift version
Browse files Browse the repository at this point in the history
  • Loading branch information
KazaiMazai committed Jul 19, 2021
1 parent 961bf6f commit cb86e91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/SwiftyUIKit/Modifiable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import UIKit
import Foundation

public protocol Modifiable: class { }
public protocol Modifiable: AnyObject { }

public extension Modifiable {
@discardableResult
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftyUIKit/ViewContentBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

@_functionBuilder
@resultBuilder
public struct ViewContentBuilder {
public static func buildBlock(_ subviews: UIView...) -> [UIView] {
subviews
Expand Down

0 comments on commit cb86e91

Please sign in to comment.