Skip to content

Commit

Permalink
ios: fix public APIs visibility (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Augustyniak authored Nov 7, 2024
1 parent a57da77 commit b511c9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions platform/swift/source/replay/AnnotatedView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import UIKit
/// 15 types.
///
/// Types left: 3
enum ViewType: UInt8 {
public enum ViewType: UInt8 {
case label = 0
case button = 1
case textInput = 2
Expand Down Expand Up @@ -53,9 +53,9 @@ public struct AnnotatedView {
/// UITextField can add a fragment to represent the entered text.
let fragments: [(frame: CGRect, type: ViewType)]

init(_ type: ViewType, recurse: Bool = true, frame: CGRect = .zero,
fragments: [(CGRect, ViewType)] = [], ignoreWhenEmpty: Bool? = nil,
ignoreChildrenViews: Bool? = nil)
public init(_ type: ViewType, recurse: Bool = true, frame: CGRect = .zero,
fragments: [(CGRect, ViewType)] = [], ignoreWhenEmpty: Bool? = nil,
ignoreChildrenViews: Bool? = nil)
{
self.ignoreWhenEmpty = ignoreWhenEmpty ?? (recurse || type == .ignore)
self.ignoreChildrenViews = ignoreChildrenViews ??
Expand Down

0 comments on commit b511c9f

Please sign in to comment.