Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
3c3be81
Update actions/checkout action to v3 (#145)
renovate[bot] Apr 15, 2022
d7c7eca
Update actions/cache action to v3 (#149)
renovate[bot] Apr 15, 2022
63b336a
Update dependency ruby to v2.7.6 (#101)
renovate[bot] Apr 16, 2022
7ef0df6
Added introspect for scroll view in TabBarView with PageTabViewStyle …
Apr 17, 2022
d3cbf32
Apply fix described in #140 (#153)
crayment Aug 21, 2022
63a079f
Update dependency cocoapods to v1.11.3 (#133)
renovate[bot] Jan 24, 2023
f824e00
Remove CircleCI (#182)
joelpoloney Feb 10, 2023
d8dfc24
Remove CircleCI badge (#183)
joelpoloney Feb 10, 2023
e4d9b8d
Static/dynamic library products (#168)
krzyzanowskim Feb 10, 2023
46a563f
Fix view controller introspection (#165)
rzulkoski Feb 10, 2023
cac3385
Add support for UICollectionView introspection (#169)
chrismaddern Feb 10, 2023
3fe1be1
Cancel ongoing CI runs on commit (#184)
davdroman Feb 10, 2023
223b26b
Revamp CI (#185)
davdroman Feb 11, 2023
21327d0
Cleanup (#186)
davdroman Feb 12, 2023
b765618
Update CHANGELOG.md (#152)
SplittyDev Feb 12, 2023
be01237
Add `introspectMapView` (#125)
MichaelJBerk Feb 12, 2023
a1a97a8
Add `introspectSearchController` (#129)
iansampson Feb 12, 2023
e0536ff
Add support for NSplitView (#100)
steipete Feb 13, 2023
8339f0a
Update changelog (#190)
davdroman Feb 14, 2023
fc40fb1
Bump to 0.2.0 (#191)
davdroman Feb 14, 2023
dd06d8b
Fix memory leak in #161 and regression in #194 (#192)
okmyself Feb 15, 2023
7a00ea9
Bump to 0.2.1 (#195)
davdroman Feb 15, 2023
9a860a0
Hotfix 0.2.1 (#196)
davdroman Feb 15, 2023
0ee6d36
Bump to 0.2.2 (#197)
davdroman Feb 15, 2023
a77c0ac
Fix `introspectPagedTabView` on iOS 16 (#200)
Feb 18, 2023
5c764b2
Auto-deploy to CocoaPods (#201)
davdroman Feb 18, 2023
c18951c
Bump to 0.2.3 (#202)
davdroman Feb 18, 2023
acd6f8d
[CI] Symlink older SDKs to use in newer Xcode versions (#208)
davdroman Mar 14, 2023
54d0aa0
Bump minimum Swift version to 5.5 (#209)
davdroman Mar 14, 2023
a2b9069
Update README to include UICollectionView introspection support (#218)
ryohey May 1, 2023
bad095e
Fix finding UIScrollViews that are clipped(), masked or combined with…
paescebu May 12, 2023
b9f6bc3
Bump to 0.3.0 (#219)
davdroman May 12, 2023
05e1346
Fix wrong Swift version in podspec (#220)
davdroman May 12, 2023
5b3f399
Bump to 0.3.1 (#221)
davdroman May 12, 2023
0955cfc
All-new implementation, API, and module (#207)
davdroman Jun 1, 2023
f17535b
Bump to 0.4.0 (#226)
davdroman Jun 1, 2023
a84dfbf
Add explicit SPI import in docs [skip ci] (#229)
davdroman Jun 2, 2023
43a8b9c
Unify `introspect` modifiers (#232)
davdroman Jun 2, 2023
f327069
Custom selectors (#233)
davdroman Jun 3, 2023
1627b93
Fix `searchField` introspection (#234)
davdroman Jun 3, 2023
95c4382
Bump to 0.5.0 (#236)
davdroman Jun 3, 2023
a6ced72
Fix `SwiftUIIntrospect.podspec` (#237)
davdroman Jun 3, 2023
94ab006
Bump to 0.5.1 (#238)
davdroman Jun 3, 2023
23b08e5
Selector overrides (#239)
davdroman Jun 5, 2023
4b81342
Optimize ancestor controller selectors (#240)
davdroman Jun 5, 2023
67e2a59
Bump to 0.5.2 (#241)
davdroman Jun 5, 2023
9304322
iOS 17 / tvOS 17 / macOS 14 support (#243)
davdroman Jun 6, 2023
01cf328
Fix `UIColorWell` build error on tvOS 13 (#217)
lechium Jun 6, 2023
c29b50a
Bump to 0.6.0 (#244)
davdroman Jun 6, 2023
a5a1d7c
Optimize receiver lookup algorithm (#246)
davdroman Jun 8, 2023
80356a6
[CI] Retry runtime download on timeout or error (#247)
davdroman Jun 8, 2023
d7b1d71
Refactor `.introspect` to use `ViewModifier` (#253)
davdroman Jun 10, 2023
84196ba
Bump to 0.6.1 (#255)
davdroman Jun 10, 2023
a503938
[CI] Fix iOS/tvOS 13 checks (#257)
davdroman Jun 19, 2023
8d85155
Add SPI manifest (#256)
davdroman Jun 19, 2023
5fc6b0e
Documentation for new SwiftUIIntrospect module (#258)
davdroman Jun 21, 2023
56065b7
Bump to 0.6.2 [skip ci] (#259)
davdroman Jun 21, 2023
82be8c3
Documentation fixes [skip ci] (#260)
davdroman Jun 22, 2023
4302c3f
Disable accessibility for introspection views (#261)
davdroman Jun 23, 2023
d24f6e2
Split code samples by OS (#262)
davdroman Jun 25, 2023
dafd88c
Bump to 0.6.3 (#263)
davdroman Jun 25, 2023
7ff7546
Add `VideoPlayer` introspection (#264)
davdroman Jun 26, 2023
3cfdd8b
Add `SignInWithAppleButton` introspection (#265)
davdroman Jun 26, 2023
c12f3e6
Add missing `SignInWithAppleButton` documentation link (#267)
davdroman Jun 26, 2023
5299d2c
Improve accuracy of `View` introspection (#266)
davdroman Jun 26, 2023
f1c20d6
Add modal introspection (#268)
davdroman Jun 26, 2023
99f747f
Add window introspection (#269)
davdroman Jun 27, 2023
d8c1e53
Swap READMEs (#270)
davdroman Jun 27, 2023
5da8f12
Rename xcworkspace (#271)
davdroman Jun 27, 2023
67b41fa
Deprecate Introspect module (#272)
davdroman Jun 27, 2023
f917d1c
Document some more public symbols (#273)
davdroman Jun 27, 2023
6dce3c8
Bump to 0.7.0 (#274)
davdroman Jun 27, 2023
8d4962c
`tea` it up (#276)
davdroman Jun 28, 2023
d95a286
Schedule weekly CI runs (#277)
davdroman Jun 28, 2023
afccdb5
Update README.md
davdroman Jun 28, 2023
f21e4b4
Fix CI (#281)
davdroman Jun 28, 2023
d1c7cdf
Generate docs for extensions (#282)
davdroman Jun 28, 2023
5ab4a22
Update README.md
davdroman Jul 1, 2023
fb2f27d
Add advanced range-based platform version predicates (#285)
davdroman Jul 1, 2023
9843e3f
Add `Map` introspection (#288)
davdroman Jul 1, 2023
005d009
Remove ACLs from docs (#289)
davdroman Jul 1, 2023
d49a578
Rename `@_spi(Internals)` to `@_spi(Advanced)` (#290)
davdroman Jul 1, 2023
8bf15ad
Bump to 0.8.0 (#291)
davdroman Jul 1, 2023
caba206
Update README.md
davdroman Jul 2, 2023
c150d11
Update README.md
davdroman Jul 3, 2023
f91114c
Update README.md
davdroman Jul 3, 2023
b867870
Update README.md
davdroman Jul 4, 2023
8c1140f
Add page control introspection (#297)
davdroman Jul 6, 2023
6a07494
Add view controller introspection (#298)
davdroman Jul 6, 2023
124f3bf
Gardening (#299)
davdroman Jul 6, 2023
adb9e7a
Bump to 0.9.0 (#300)
davdroman Jul 6, 2023
2cb404d
Gardening [skip ci]
davdroman Jul 6, 2023
2b8e809
Fix broken links in README.md (#303)
kkebo Jul 10, 2023
b400ef5
Only box up content for `.view` introspection (#305)
davdroman Jul 12, 2023
9fd8ee5
Change order of vended products (#306)
davdroman Jul 12, 2023
730ab9e
Bump to 0.9.1 (#307)
davdroman Jul 12, 2023
7165cad
Disable "Autocreate schemes" (#308)
davdroman Jul 12, 2023
3e52295
Fix occasionally wrong status bar style (#313)
davdroman Jul 18, 2023
cf02def
Add UI Test suite (#314)
davdroman Jul 19, 2023
b94da69
Bump to 0.9.2 (#315)
davdroman Jul 19, 2023
22d7575
Add `SecureField` introspection (#317)
davdroman Jul 20, 2023
d9db33c
Fix manifest line in README
davdroman Jul 20, 2023
ccb973c
Bump to 0.10.0 (#319)
davdroman Jul 20, 2023
e93995c
[CI] Run tests on iOS & tvOS 17 (#323)
davdroman Aug 2, 2023
6b90a2f
Add visionOS support (#327)
davdroman Aug 17, 2023
6b4a529
[CI] Make macOS and Xcode versions explicit (#332)
davdroman Aug 17, 2023
1136c9a
Bump to 0.11.0 (#334)
davdroman Aug 17, 2023
2c6b476
Add GitHub issue templates [skip ci] (#337)
davdroman Aug 23, 2023
7c6ab5c
Add SwiftUI Preview for Showcase (#338)
davdroman Aug 24, 2023
d9fbb60
Fix `@_spi` errors (#339)
davdroman Aug 24, 2023
9da0f9b
Bump to 0.11.1 (#340)
davdroman Aug 25, 2023
07993a2
Update README.md [skip ci]
davdroman Aug 27, 2023
53333d6
Add `@Weak` property wrapper (#341)
davdroman Aug 28, 2023
51dc4bd
Add community projects section to README [skip ci] (#342)
davdroman Aug 28, 2023
121c146
Bump to 0.12.0 (#344)
davdroman Aug 28, 2023
78b8464
[CI] Remove min iOS version constraint for UI Tests (#343)
davdroman Aug 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 0 additions & 62 deletions .circleci/config.yml

This file was deleted.

71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Bug Report
description: Something isn't working as expected
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thank you for contributing to SwiftUI Introspect!

Before you submit your issue, please complete each text area below with the relevant details for your bug, and complete the steps in the checklist.
- type: textarea
attributes:
label: Description
description: |
A short description of the incorrect behavior.

If you think this issue has been recently introduced and did not occur in an earlier version, please note that. If possible, include the last version that the behavior was correct in addition to your current version.
validations:
required: true
- type: checkboxes
attributes:
label: Checklist
options:
- label: I have read the [README](https://github.com/siteline/swiftui-introspect#swiftui-introspect) before submitting this report.
required: true
- label: This issue hasn't been addressed in an [existing GitHub issue](https://github.com/siteline/swiftui-introspect/issues) or [discussion](https://github.com/siteline/swiftui-introspect/discussions).
required: true
- type: textarea
attributes:
label: Expected behavior
description: Describe what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Actual behavior
description: Describe or copy/paste the behavior you observe.
validations:
required: false
- type: textarea
attributes:
label: Steps to reproduce
description: |
Explanation of how to reproduce the incorrect behavior.

This could include an attached project or link to code that is exhibiting the issue, and/or a screen recording.
placeholder: |
1. ...
validations:
required: false
- type: input
attributes:
label: Version information
description: The version of SwiftUIIntrospect used to reproduce this issue.
placeholder: "'0.11.0' for example, or a commit hash"
- type: input
attributes:
label: Destination operating system
description: The OS running the SwiftUIIntrospect module.
placeholder: "'iOS 17' for example"
- type: input
attributes:
label: Xcode version information
description: The version of Xcode used to reproduce this issue.
placeholder: "The version displayed from 'Xcode 〉About Xcode'"
- type: textarea
attributes:
label: Swift Compiler version information
description: The version of Swift used to reproduce this issue.
placeholder: Output from 'xcrun swiftc --version'
render: shell
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
blank_issues_enabled: false

contact_links:
- name: Project Discussion
url: https://github.com/siteline/swiftui-introspect/discussions
about: Q&A, ideas, and more
- name: Documentation
url: https://github.com/siteline/swiftui-introspect#swiftui-introspect
about: Read SwiftUI Introspect's documentation
54 changes: 0 additions & 54 deletions .github/workflows/build-and-test.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: cd

on:
push:
tags:
- '*'

jobs:
deploy:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
podspec:
- Introspect.podspec
- SwiftUIIntrospect.podspec
steps:
- name: Git Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # required to be able to find Git tags

- name: Deploy to CocoaPods Trunk (${{ matrix.podspec }})
run: |
set -eo pipefail
export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
pod lib lint ${{ matrix.podspec }} --allow-warnings
pod trunk push ${{ matrix.podspec }} --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
154 changes: 154 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
name: ci

on:
push:
branches:
- master
pull_request:
branches:
- "**"
schedule:
- cron: '3 3 * * 2' # 3:03 AM, every Tuesday

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
lint-podspecs:
name: lint podspecs
runs-on: macos-latest
steps:
- name: Git Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # required to be able to find Git tags

- name: Lint Introspect.podspec
run: |
set -eo pipefail
export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
pod lib lint Introspect.podspec --allow-warnings

- name: Lint SwiftUIIntrospect.podspec
run: |
set -eo pipefail
export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
pod lib lint SwiftUIIntrospect.podspec --allow-warnings

ci:
name: ${{ matrix.platform[0] }} ${{ matrix.platform[1] }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- platform: [ios, 13]
runtime: iOS 13.7
os: macos-12
xcode: 14.2
install: true
- platform: [ios, 14]
runtime: iOS 14.5
os: macos-13
xcode: 14.3.1
install: true
- platform: [ios, 15]
runtime: iOS 15.5
os: macos-13
xcode: 15.0
install: true
- platform: [ios, 16]
runtime: iOS 16.4
os: macos-13
xcode: 14.3.1
- platform: [ios, 17]
runtime: iOS 17.0
os: macos-13
xcode: 15.0

- platform: [tvos, 13]
runtime: tvOS 13.4
os: macos-12
xcode: 14.2
install: true
- platform: [tvos, 14]
runtime: tvOS 14.5
os: macos-13
xcode: 14.3.1
install: true
- platform: [tvos, 15]
runtime: tvOS 15.4
os: macos-13
xcode: 15.0
install: true
- platform: [tvos, 16]
runtime: tvOS 16.4
os: macos-13
xcode: 15.0
- platform: [tvos, 17]
runtime: tvOS 17.0
os: macos-13
xcode: 15.0

- platform: [macos, 11]
runtime: macOS 11
os: macos-11
xcode: 13.2.1
- platform: [macos, 12]
runtime: macOS 12
os: macos-12
xcode: 14.2
- platform: [macos, 13]
runtime: macOS 13
os: macos-13
xcode: 15.0

# FIXME: this currently hangs on CI
# - platform: [visionos, 1]
# runtime: visionOS 1.0-beta2
# os: macos-13
# xcode: 15.0
# install: true
steps:
- name: Git Checkout
uses: actions/checkout@v3

- name: Setup tea environment
uses: teaxyz/setup@v0
with:
+: |
github.com/XcodesOrg/xcodes

- name: Select Xcode version
run: sudo xcodes select ${{ matrix.xcode }}

- if: ${{ matrix.install }}
name: Install Required Runtime (${{ matrix.runtime }})
uses: nick-fields/retry@v2
with:
timeout_minutes: 15
max_attempts: 3
command: sudo xcodes runtimes install '${{ matrix.runtime }}'

- if: false
name: '[Debug] List Available Runtimes, Simulators, and Destinations'
run: |
xcrun simctl list
xcodebuild -scheme "Showcase" -showdestinations

- if: ${{ join(matrix.platform, ' ') != 'macos 11' }}
name: Build Showcase
run: fastlane build platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:Showcase

- if: ${{ join(matrix.platform, ' ') != 'ios 13' && join(matrix.platform, ' ') != 'tvos 13' && join(matrix.platform, ' ') != 'ios 17' && join(matrix.platform, ' ') != 'tvos 17' && matrix.platform[0] != 'visionos' }}
name: Run Tests (Introspect)
run: fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:Introspect

- if: ${{ join(matrix.platform, ' ') != 'macos 11' }}
name: Run Tests (SwiftUIIntrospect)
run: fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:SwiftUIIntrospectTests configuration:Debug

- if: ${{ matrix.platform[0] == 'ios' && matrix.platform[1] <= '16' }}
name: Run UI Tests (SwiftUIIntrospect)
run: fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:SwiftUIIntrospectUITests configuration:Debug
Loading