Update changelog (#190)

This commit is contained in:
David Roman 2023-02-14 00:33:31 +00:00 committed by GitHub
parent e0536ffe50
commit 8339f0afe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 129 additions and 30 deletions

View File

@ -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]
@ -64,7 +72,7 @@ Changelog
## [0.0.2]
- Added documentation for all methods.
## [0.0.1]
- First release.

3
Gemfile Normal file
View File

@ -0,0 +1,3 @@
source "https://rubygems.org"
gem "cocoapods", "1.11.3"

97
Gemfile.lock Normal file
View File

@ -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

View File

@ -114,9 +114,9 @@ ScrollView {
```swift
NavigationView {
Text("Item 2")
.introspectNavigationController { navigationController in
navigationController.navigationBar.backgroundColor = .red
}
.introspectNavigationController { navigationController in
navigationController.navigationBar.backgroundColor = .red
}
}
```
@ -124,9 +124,9 @@ NavigationView {
```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
@ -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 -->

View File

@ -1,3 +0,0 @@
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!