Skip to content

Commit

Permalink
remove grid view (#27)
Browse files Browse the repository at this point in the history
Patch
  • Loading branch information
muukii authored Oct 15, 2024
1 parent 3ff0e61 commit 7fa9db4
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 187 deletions.
2 changes: 1 addition & 1 deletion CompositionKit-Demo/Book.NavigationHostingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public enum Book_NavigationHostingView {
$0.setTitle("Dismiss", for: .normal)
}

let navigationContentView = AnyView { view in
let navigationContentView = AnyUIView { view in
ZStackBlock {
HStackBlock {
dismissButton
Expand Down
39 changes: 0 additions & 39 deletions CompositionKit-Demo/Book.VGridView.swift

This file was deleted.

4 changes: 0 additions & 4 deletions CompositionKit-Demo/Book.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ import StorybookKit
let book = Book(title: "MyBook") {

Book_NavigationHostingView.body

if #available(iOS 13, *) {
Book_VGridView.body
}

Book.dynamicAnimator

Expand Down
4 changes: 0 additions & 4 deletions CompositionKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
4B70998D2856EB7B00BAE257 /* StorybookKit in Frameworks */ = {isa = PBXBuildFile; productRef = 4B70998C2856EB7B00BAE257 /* StorybookKit */; };
4B70998F2856EB7B00BAE257 /* StorybookUI in Frameworks */ = {isa = PBXBuildFile; productRef = 4B70998E2856EB7B00BAE257 /* StorybookUI */; };
4B7803C12780455300436AAB /* CompositionKit in Frameworks */ = {isa = PBXBuildFile; productRef = 4B7803C02780455300436AAB /* CompositionKit */; };
4B7803C32780458C00436AAB /* Book.VGridView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B7803C22780458C00436AAB /* Book.VGridView.swift */; };
4B959B092764F77E0003FFB6 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B959B082764F77E0003FFB6 /* AppDelegate.swift */; };
4B959B0D2764F77E0003FFB6 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B959B0C2764F77E0003FFB6 /* ViewController.swift */; };
4B959B122764F77F0003FFB6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4B959B112764F77F0003FFB6 /* Assets.xcassets */; };
Expand All @@ -28,7 +27,6 @@

/* Begin PBXFileReference section */
4B618C2A277062EF000EA3A4 /* Book.NavigationHostingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Book.NavigationHostingView.swift; sourceTree = "<group>"; };
4B7803C22780458C00436AAB /* Book.VGridView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Book.VGridView.swift; sourceTree = "<group>"; };
4B959B062764F77E0003FFB6 /* CompositionKit-Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CompositionKit-Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; };
4B959B082764F77E0003FFB6 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
4B959B0C2764F77E0003FFB6 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -89,7 +87,6 @@
4BEF735C2859BBB100A36665 /* Book.DynamicAnimator.swift */,
4BC61D2528523B3C00354E61 /* Book.HostingView.swift */,
4B618C2A277062EF000EA3A4 /* Book.NavigationHostingView.swift */,
4B7803C22780458C00436AAB /* Book.VGridView.swift */,
4B959B212764F8300003FFB6 /* RootContainerViewController.swift */,
4B959B0C2764F77E0003FFB6 /* ViewController.swift */,
4B959B112764F77F0003FFB6 /* Assets.xcassets */,
Expand Down Expand Up @@ -204,7 +201,6 @@
4BC61D2628523B3C00354E61 /* Book.HostingView.swift in Sources */,
4BEF735D2859BBB100A36665 /* Book.DynamicAnimator.swift in Sources */,
4B959B222764F8300003FFB6 /* RootContainerViewController.swift in Sources */,
4B7803C32780458C00436AAB /* Book.VGridView.swift in Sources */,
4B959B202764F8200003FFB6 /* Book.swift in Sources */,
4B618C2B277062EF000EA3A4 /* Book.NavigationHostingView.swift in Sources */,
4BF6ED6227706EE000E39ABC /* UIControl+Closure.swift in Sources */,
Expand Down
3 changes: 0 additions & 3 deletions Sources/CompositionKit/AnyUIView.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import UIKit
import MondrianLayout

@available(*, deprecated, renamed: "AnyUIView", message: "To avoid confliting with SwiftUI.AnyView")
public typealias AnyView = AnyUIView

open class AnyUIView: UIView {

private var _onDeinit: (() -> Void)?
Expand Down
16 changes: 0 additions & 16 deletions Sources/CompositionKit/HGridView.swift

This file was deleted.

16 changes: 0 additions & 16 deletions Sources/CompositionKit/VGridView.swift

This file was deleted.

104 changes: 0 additions & 104 deletions Sources/CompositionKit/_GridView.swift

This file was deleted.

0 comments on commit 7fa9db4

Please sign in to comment.