Fix Package.swift

This commit is contained in:
Lois Di Qual 2019-11-29 11:28:47 -08:00
parent d700cb25ec
commit 10759775ff
2 changed files with 3 additions and 2 deletions

View File

@ -138,7 +138,7 @@ public struct IntrospectionView<TargetViewType: UIView>: UIViewRepresentable {
/// When `updateUiView` is called after creating the Introspection view, it is not yet in the UIKit hierarchy.
/// At this point, `introspectionView.superview.superview` is nil and we can't access the target UIKit view.
/// To workaround this, we want until the runloop is done inserting the introspection view in the hierarchy, then run the selector.
/// To workaround this, we wait until the runloop is done inserting the introspection view in the hierarchy, then run the selector.
/// Finding the target view fails silently if the selector yield no result. This happens when `updateUIView`
/// gets called when the introspection view gets removed from the hierarchy.
public func updateUIView(

View File

@ -17,7 +17,8 @@ let package = Package(
targets: [
.target(
name: "Introspect",
dependencies: []
dependencies: [],
path: "Introspect"
)
]
)