-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce UIViewDebug Tools and Address .swiftpm Build Issues on Swif…
…tPackageIndex (#1) * working UIViewDebug tools, and adding more UnitTests * Add Unit Tests for DSL * Add unit tests
- Loading branch information
Showing
21 changed files
with
789 additions
and
212 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// NSObject+Extensions.swift | ||
// | ||
// | ||
// Created by Blazej SLEBODA on 20/09/2023. | ||
// | ||
|
||
import Foundation | ||
|
||
public protocol NSObjectExtensions {}; extension NSObject: NSObjectExtensions { } | ||
|
||
extension NSObjectExtensions { | ||
|
||
@discardableResult | ||
public func apply(_ block: (Self) -> Void) -> Self { | ||
block(self) | ||
return self | ||
} | ||
} |
Oops, something went wrong.