Skip to content

Commit a5816ae

Browse files
authored
Add SwiftUI growing text editor demo (#111)
* Add SwiftUI growing text editor demo * Add SwiftUI preview image to README * Update GitHub Actions CI * Allow macro plugins in CI * Update
1 parent ad23041 commit a5816ae

31 files changed

Lines changed: 1837 additions & 947 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
11
name: CI
2-
on: [push, pull_request, workflow_dispatch]
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
38
jobs:
4-
test:
5-
runs-on: macos-11
9+
build:
10+
name: Build GrowingTextViewDemo
11+
runs-on: macos-26
12+
613
steps:
7-
- uses: maxim-lobanov/setup-xcode@v1.1
14+
- uses: actions/checkout@v7
15+
16+
- name: Select Xcode
17+
uses: maxim-lobanov/setup-xcode@v1.7.0
818
with:
9-
xcode-version: "13.2"
10-
- uses: actions/checkout@v2
11-
# - run: set -o pipefail && xcodebuild build -project NextGrowingTextView.xcodeproj -scheme NextGrowingTextView -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
12-
- run: pod lib lint --allow-warnings
19+
xcode-version: "26.6"
20+
21+
- name: Build
22+
run: |
23+
xcodebuild build \
24+
-project NextGrowingTextView.xcodeproj \
25+
-scheme GrowingTextViewDemo \
26+
-destination "generic/platform=iOS Simulator" \
27+
-skipMacroValidation \
28+
CODE_SIGNING_ALLOWED=NO

Demo/Base.lproj/LaunchScreen.xib

Lines changed: 0 additions & 41 deletions
This file was deleted.

Demo/Images.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)