Skip to content

Commit 9244c78

Browse files
committed
Update license file and input vc docs
1 parent 50211b0 commit 9244c78

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

Demo/Demo.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@
792792
isa = XCRemoteSwiftPackageReference;
793793
repositoryURL = "https://github.com/danielsaidi/KeyboardKit.git";
794794
requirement = {
795-
branch = gestures;
795+
branch = master;
796796
kind = branch;
797797
};
798798
};

Demo/Demo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"package": "KeyboardKit",
66
"repositoryURL": "https://github.com/danielsaidi/KeyboardKit.git",
77
"state": {
8-
"branch": "gestures",
9-
"revision": "fe5c4792659f8c1006df1dcca5451f4bb08d999f",
8+
"branch": "master",
9+
"revision": "142c5e368f0f02933255d6db837b8beaf092c51a",
1010
"version": null
1111
}
1212
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Daniel Saidi
3+
Copyright (c) 2021 Daniel Saidi
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Sources/KeyboardKit/Keyboard/KeyboardInputViewController.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,14 @@ open class KeyboardInputViewController: UIInputViewController {
6464
// MARK: - Setup
6565

6666
/**
67-
Remove all subviews from the vc view and add a `SwiftUI`
68-
view to it. This will pin the view to the edges of this
69-
extension and will resize the extension to fit the view.
67+
Setup KeyboardKit with a SwiftUI view.
7068

71-
This function also applies `@EnvironmentObject`s to the
72-
view, that can be used by all nested views.
69+
This will remove all subviews from the vc view then add
70+
the provided view to it. The view will be pinned to the
71+
edges of the vc view and resize the extension to fit.
72+
73+
This also applies `@EnvironmentObject` instances to the
74+
view, that can be used within the entire view hierarchy.
7375
*/
7476
open func setup<Content: View>(with view: Content) {
7577
self.view.subviews.forEach { $0.removeFromSuperview() }

0 commit comments

Comments
 (0)