Skip to content

Update changelog #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ Changelog

## master

- Added `.introspectPagedTabView` on iOS
- Updated dependencies
- Added: `introspectCollectionView/introspectCollectionViewCell` (#169)
- Added: `introspectSearchController` (#129)
- Added: `introspectPagedTabView` (#117)
- Added: `introspectMapView` (#125)
- Added: `introspectSplitView` on macOS (#100)
- Added: explicitly static/dynamic SPM library products (#168)
- Fixed: view controller introspection (#165)
- Fixed: issue where introspecting within a LazyVStack would silently fail #153
- Infrastructure: test coverage now spans iOS/tvOS 14/15/16 and macOS 11/12 (#185)
- Infrastructure: removed CircleCI in favor of GitHub Actions (#182, #183)

## [0.1.4]

Expand Down Expand Up @@ -64,7 +72,7 @@ Changelog
## [0.0.2]

- Added documentation for all methods.

## [0.0.1]

- First release.
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "https://rubygems.org"

gem "cocoapods", "1.11.3"
97 changes: 97 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.6)
rexml
activesupport (6.1.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
claide (1.1.0)
cocoapods (1.11.3)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.11.3)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.4.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.4.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.3.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 1.0, < 3.0)
xcodeproj (>= 1.21.0, < 2.0)
cocoapods-core (1.11.3)
activesupport (>= 5.0, < 7)
addressable (~> 2.8)
algoliasearch (~> 1.0)
concurrent-ruby (~> 1.1)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
netrc (~> 0.11)
public_suffix (~> 4.0)
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.5)
cocoapods-downloader (1.6.3)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.1)
cocoapods-trunk (1.6.0)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.2.0)
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
ffi (1.15.5)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.8.3)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
json (2.6.3)
minitest (5.17.0)
molinillo (0.8.0)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
public_suffix (4.0.7)
rexml (3.2.5)
ruby-macho (2.5.1)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
xcodeproj (1.22.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
zeitwerk (2.6.7)

PLATFORMS
arm64-darwin-22

DEPENDENCIES
cocoapods (= 1.11.3)

BUNDLED WITH
2.4.6
42 changes: 18 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@ ScrollView {
```swift
NavigationView {
Text("Item 2")
.introspectNavigationController { navigationController in
navigationController.navigationBar.backgroundColor = .red
}
.introspectNavigationController { navigationController in
navigationController.navigationBar.backgroundColor = .red
}
}
```

### TextField

```swift
TextField("Text Field", text: $textFieldValue)
.introspectTextField { textField in
textField.layer.backgroundColor = UIColor.red.cgColor
}
.introspectTextField { textField in
textField.layer.backgroundColor = UIColor.red.cgColor
}
```

Implement your own selector
Expand Down Expand Up @@ -165,27 +165,21 @@ You can use any of the following [methods](https://github.com/timbersoftware/Swi
Releasing
---------

- Increment version number:
1. Update changelog with new version
2. Bump version in `Introspect.podspec`
3. PR and merge changes
4. Tag new version:

```
$ bundle exec fastlane run increment_version_number bump_type:minor # major|minor|patch
```
```sh
$ git tag -a <VERSION> -m "<MESSAGE>"
$ git push origin --tags
```

- Update changelog with new version
- Bump version in `Introspect.podspec`
- Commit and push changes
- Tag new version:
5. Push to CocoaPods trunk:

```
$ git tag -a <VERSION> -m "<MESSAGE>"
$ git push origin --tags
```

- Push to cocoapods trunk:

```
$ bundle exec pod trunk push .
```
```sh
$ bundle exec pod trunk push .
```


<!-- References -->
Expand Down
3 changes: 0 additions & 3 deletions fastlane/Pluginfile

This file was deleted.