Skip to content

Commit b00da01

Browse files
authored
v2 - Modernizing API (#100)
* ⚡ WIP * 🌲 Update * 🌲 Update * 🌲 Update * 🌲 Update * Update Package.swift * Update README.md * Update ci.yml * Remove gif * Resolve packages * 🌲 Update * 🌲 Update * 🌲 Update
1 parent f324e9b commit b00da01

28 files changed

+1271
-932
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ jobs:
44
test:
55
runs-on: macos-11
66
steps:
7-
- uses: actions/checkout@v2
8-
- run: set -o pipefail && xcodebuild build -project NextGrowingTextView.xcodeproj -scheme NextGrowingTextView -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
9-
- run: pod lib lint
7+
- uses: maxim-lobanov/[email protected]
8+
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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
# Xcode
55
build/
6+
.build
67
*.pbxuser
78
!default.pbxuser
89
*.mode1v3

Demo/AppDelegate.swift

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

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

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

Demo/Base.lproj/Main.storyboard

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

Demo/Info.plist

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

Demo/ScrollViewViewController.swift

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

Demo/ViewController.swift

Lines changed: 0 additions & 85 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import UIKit
2+
3+
import MondrianLayout
4+
import CompositionKit
5+
import NextGrowingTextView
6+
import TypedTextAttributes
7+
8+
@UIApplicationMain
9+
class AppDelegate: UIResponder, UIApplicationDelegate {
10+
11+
var window: UIWindow?
12+
13+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
14+
15+
let newWindow = UIWindow()
16+
newWindow.rootViewController = RootContainerViewController()
17+
newWindow.makeKeyAndVisible()
18+
self.window = newWindow
19+
return true
20+
}
21+
22+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"scale" : "2x",
6+
"size" : "20x20"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"scale" : "3x",
11+
"size" : "20x20"
12+
},
13+
{
14+
"idiom" : "iphone",
15+
"scale" : "2x",
16+
"size" : "29x29"
17+
},
18+
{
19+
"idiom" : "iphone",
20+
"scale" : "3x",
21+
"size" : "29x29"
22+
},
23+
{
24+
"idiom" : "iphone",
25+
"scale" : "2x",
26+
"size" : "40x40"
27+
},
28+
{
29+
"idiom" : "iphone",
30+
"scale" : "3x",
31+
"size" : "40x40"
32+
},
33+
{
34+
"idiom" : "iphone",
35+
"scale" : "2x",
36+
"size" : "60x60"
37+
},
38+
{
39+
"idiom" : "iphone",
40+
"scale" : "3x",
41+
"size" : "60x60"
42+
},
43+
{
44+
"idiom" : "ios-marketing",
45+
"scale" : "1x",
46+
"size" : "1024x1024"
47+
}
48+
],
49+
"info" : {
50+
"author" : "xcode",
51+
"version" : 1
52+
}
53+
}

0 commit comments

Comments
 (0)