Fix Package.swift
This commit is contained in:
parent
d700cb25ec
commit
10759775ff
|
@ -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(
|
||||
|
|
|
@ -17,7 +17,8 @@ let package = Package(
|
|||
targets: [
|
||||
.target(
|
||||
name: "Introspect",
|
||||
dependencies: []
|
||||
dependencies: [],
|
||||
path: "Introspect"
|
||||
)
|
||||
]
|
||||
)
|
Loading…
Reference in New Issue