Skip to content

Commit

Permalink
Add demo cases with UITabBarController
Browse files Browse the repository at this point in the history
  • Loading branch information
Friend-LGA committed Apr 14, 2021
1 parent 402b0ca commit 9375f98
Show file tree
Hide file tree
Showing 14 changed files with 1,101 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
D92677B425F8E2AE005095B1 /* RootViewControllerWithTextLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = D92677B325F8E2AE005095B1 /* RootViewControllerWithTextLabel.swift */; };
D929A46F26039AAB00122DE2 /* RootViewControllerWithScrollView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D929A46E26039AAB00122DE2 /* RootViewControllerWithScrollView.swift */; };
D935343025E2430300F79637 /* LGSideMenuBackgroundShadowView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D935342F25E2430300F79637 /* LGSideMenuBackgroundShadowView.swift */; };
D94541262626E83B00137452 /* RootTabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D94541252626E83B00137452 /* RootTabBarController.swift */; };
D9534C2925EFA7A10004560F /* DemoEntries.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9534C2825EFA7A10004560F /* DemoEntries.swift */; };
D958DFA425D3F47100E6741D /* LGSideMenuController+States.swift in Sources */ = {isa = PBXBuildFile; fileRef = D958DFA325D3F47100E6741D /* LGSideMenuController+States.swift */; };
D97928DB25DD38FB000BCD88 /* LGSideMenuWrapperView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D97928DA25DD38FB000BCD88 /* LGSideMenuWrapperView.swift */; };
Expand Down Expand Up @@ -83,6 +84,7 @@
D92677B325F8E2AE005095B1 /* RootViewControllerWithTextLabel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = RootViewControllerWithTextLabel.swift; path = ../../_shared_files/SideMenuController/RootViewController/RootViewControllerWithTextLabel.swift; sourceTree = "<group>"; };
D929A46E26039AAB00122DE2 /* RootViewControllerWithScrollView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = RootViewControllerWithScrollView.swift; path = ../../_shared_files/SideMenuController/RootViewController/RootViewControllerWithScrollView.swift; sourceTree = "<group>"; };
D935342F25E2430300F79637 /* LGSideMenuBackgroundShadowView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LGSideMenuBackgroundShadowView.swift; sourceTree = "<group>"; };
D94541252626E83B00137452 /* RootTabBarController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = RootTabBarController.swift; path = ../../_shared_files/SideMenuController/RootViewController/RootTabBarController.swift; sourceTree = "<group>"; };
D9534C2825EFA7A10004560F /* DemoEntries.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DemoEntries.swift; path = ../../_shared_files/DemoEntries.swift; sourceTree = "<group>"; };
D958DFA325D3F47100E6741D /* LGSideMenuController+States.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "LGSideMenuController+States.swift"; sourceTree = "<group>"; };
D97928DA25DD38FB000BCD88 /* LGSideMenuWrapperView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LGSideMenuWrapperView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -139,6 +141,7 @@
isa = PBXGroup;
children = (
D9FCBDF025F2758B0085EBC9 /* RootNavigationController.swift */,
D94541252626E83B00137452 /* RootTabBarController.swift */,
D9FCBDEF25F2758B0085EBC9 /* RootViewController.swift */,
D929A46E26039AAB00122DE2 /* RootViewControllerWithScrollView.swift */,
D9FCBDEE25F2758B0085EBC9 /* RootViewControllerWithTableView.swift */,
Expand Down Expand Up @@ -345,6 +348,7 @@
D9174B6E25D180AD00DB01B5 /* LGSideMenuController+RightViewActions.swift in Sources */,
D9174B2F25CF276C00DB01B5 /* LGSideMenuHelper.swift in Sources */,
D9174B4725D171ED00DB01B5 /* LGSideMenuController+ValidatingViewsFrames.swift in Sources */,
D94541262626E83B00137452 /* RootTabBarController.swift in Sources */,
D929A46F26039AAB00122DE2 /* RootViewControllerWithScrollView.swift in Sources */,
D9FCBDFB25F275950085EBC9 /* LeftViewController.swift in Sources */,
D9FCBDFF25F275A60085EBC9 /* RightViewCell.swift in Sources */,
Expand Down
20 changes: 16 additions & 4 deletions Demo/Storyboard/LGSideMenuControllerDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
D93CB7CF25DEDF6200DFD5A7 /* LGSideMenuController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D93CB7B825DEDF6200DFD5A7 /* LGSideMenuController.swift */; };
D93CB7D025DEDF6200DFD5A7 /* LGSideMenuWrapperView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D93CB7B925DEDF6200DFD5A7 /* LGSideMenuWrapperView.swift */; };
D942388525DEE94600534976 /* LGSideMenuSegue.swift in Sources */ = {isa = PBXBuildFile; fileRef = D942388425DEE94600534976 /* LGSideMenuSegue.swift */; };
D942388925DEED1600534976 /* AsWindowRootViewController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D9FEF65D25C93E7C00FDD4FD /* AsWindowRootViewController.storyboard */; };
D942388925DEED1600534976 /* AsContainerForNavigationController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D9FEF65D25C93E7C00FDD4FD /* AsContainerForNavigationController.storyboard */; };
D945412B26270B6700137452 /* RootTabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D945412A26270B6700137452 /* RootTabBarController.swift */; };
D945412F26270F8C00137452 /* InsideTabBarController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D945412E26270F8C00137452 /* InsideTabBarController.storyboard */; };
D945413226270F9F00137452 /* AsContainerForTabBarController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D945413126270F9F00137452 /* AsContainerForTabBarController.storyboard */; };
D9E57C1425E6FBB000E96E40 /* LGSideMenuController+ValidatingUserInteraction.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9E57C1325E6FBAF00E96E40 /* LGSideMenuController+ValidatingUserInteraction.swift */; };
D9FCBDAD25F1183A0085EBC9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D9FCBDAC25F1183A0085EBC9 /* Assets.xcassets */; };
D9FCBDC425F2226F0085EBC9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9FCBDC325F2226F0085EBC9 /* AppDelegate.swift */; };
Expand Down Expand Up @@ -89,6 +92,9 @@
D93CB7B825DEDF6200DFD5A7 /* LGSideMenuController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LGSideMenuController.swift; sourceTree = "<group>"; };
D93CB7B925DEDF6200DFD5A7 /* LGSideMenuWrapperView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LGSideMenuWrapperView.swift; sourceTree = "<group>"; };
D942388425DEE94600534976 /* LGSideMenuSegue.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LGSideMenuSegue.swift; sourceTree = "<group>"; };
D945412A26270B6700137452 /* RootTabBarController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = RootTabBarController.swift; path = ../../_shared_files/SideMenuController/RootViewController/RootTabBarController.swift; sourceTree = "<group>"; };
D945412E26270F8C00137452 /* InsideTabBarController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = InsideTabBarController.storyboard; sourceTree = "<group>"; };
D945413126270F9F00137452 /* AsContainerForTabBarController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = AsContainerForTabBarController.storyboard; sourceTree = "<group>"; };
D9E57C1325E6FBAF00E96E40 /* LGSideMenuController+ValidatingUserInteraction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "LGSideMenuController+ValidatingUserInteraction.swift"; sourceTree = "<group>"; };
D9FCBDAC25F1183A0085EBC9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = ../../_shared_files/Assets.xcassets; sourceTree = "<group>"; };
D9FCBDC325F2226F0085EBC9 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = ../../_shared_files/AppDelegate.swift; sourceTree = "<group>"; };
Expand All @@ -105,7 +111,7 @@
D9FCBE1A25F2762E0085EBC9 /* LeftViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = LeftViewController.swift; path = ../../_shared_files/SideMenuController/LeftViewController/LeftViewController.swift; sourceTree = "<group>"; };
D9FCBE1F25F276370085EBC9 /* RightViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = RightViewController.swift; path = ../../_shared_files/SideMenuController/RightViewController/RightViewController.swift; sourceTree = "<group>"; };
D9FCBE2025F276370085EBC9 /* RightViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = RightViewCell.swift; path = ../../_shared_files/SideMenuController/RightViewController/RightViewCell.swift; sourceTree = "<group>"; };
D9FEF65D25C93E7C00FDD4FD /* AsWindowRootViewController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = AsWindowRootViewController.storyboard; sourceTree = "<group>"; };
D9FEF65D25C93E7C00FDD4FD /* AsContainerForNavigationController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = AsContainerForNavigationController.storyboard; sourceTree = "<group>"; };
EDE7950C1D45B7A1002930CA /* LGSideMenuControllerDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LGSideMenuControllerDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
EDE7951B1D45B7A1002930CA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand All @@ -125,6 +131,7 @@
isa = PBXGroup;
children = (
D9FCBE1225F276240085EBC9 /* RootNavigationController.swift */,
D945412A26270B6700137452 /* RootTabBarController.swift */,
D9FCBE1125F276240085EBC9 /* RootViewController.swift */,
D929A4762603ABA900122DE2 /* RootViewControllerWithScrollView.swift */,
D9FCBE1025F276240085EBC9 /* RootViewControllerWithTableView.swift */,
Expand Down Expand Up @@ -228,8 +235,10 @@
EDE7952C1D45BA5C002930CA /* Side Menu Controller */ = {
isa = PBXGroup;
children = (
D9FEF65D25C93E7C00FDD4FD /* AsWindowRootViewController.storyboard */,
D9FEF65D25C93E7C00FDD4FD /* AsContainerForNavigationController.storyboard */,
D92677B825F9125F005095B1 /* InsideNavigationController.storyboard */,
D945413126270F9F00137452 /* AsContainerForTabBarController.storyboard */,
D945412E26270F8C00137452 /* InsideTabBarController.storyboard */,
D9FCBE0C25F2761C0085EBC9 /* MainViewController.swift */,
4A7BF8F21E01BC3400C6A9D4 /* Root View Controller */,
EDE7952E1D45BA70002930CA /* Left View Controller */,
Expand Down Expand Up @@ -318,9 +327,11 @@
buildActionMask = 2147483647;
files = (
D9FCBE0925F276120085EBC9 /* Choose.storyboard in Resources */,
D942388925DEED1600534976 /* AsWindowRootViewController.storyboard in Resources */,
D945413226270F9F00137452 /* AsContainerForTabBarController.storyboard in Resources */,
D942388925DEED1600534976 /* AsContainerForNavigationController.storyboard in Resources */,
D92677C225F9144A005095B1 /* InsideNavigationController.storyboard in Resources */,
4A04FACA1E894C92000E90AB /* LaunchScreen.storyboard in Resources */,
D945412F26270F8C00137452 /* InsideTabBarController.storyboard in Resources */,
D9FCBDAD25F1183A0085EBC9 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -353,6 +364,7 @@
D93CB7BE25DEDF6200DFD5A7 /* LGSideMenuController+GesturesHandler.swift in Sources */,
D93CB7BF25DEDF6200DFD5A7 /* LGSideMenuController+States.swift in Sources */,
D9FCBE1325F276240085EBC9 /* RootViewControllerWithTableView.swift in Sources */,
D945412B26270B6700137452 /* RootTabBarController.swift in Sources */,
D929A4772603ABA900122DE2 /* RootViewControllerWithScrollView.swift in Sources */,
D93CB7CC25DEDF6200DFD5A7 /* LGSideMenuController+StatusBarHandler.swift in Sources */,
D93CB7C925DEDF6200DFD5A7 /* LGSideMenuController+ValidatingViewsFrames.swift in Sources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<connections>
<segue destination="MTf-tf-opW" kind="relationship" relationship="rootViewController" id="QYk-Ug-r4u"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="oZD-Tj-tpZ" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
Expand Down Expand Up @@ -83,10 +86,10 @@
</objects>
<point key="canvasLocation" x="-531" y="1339"/>
</scene>
<!--Main View Controller-->
<!--Title-->
<scene sceneID="FD9-Pe-zX1">
<objects>
<viewController storyboardIdentifier="MainViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="0Qe-ZH-n0V" customClass="MainViewController" customModule="LGSideMenuControllerDemo" customModuleProvider="target" sceneMemberID="viewController">
<viewController storyboardIdentifier="MainViewController" title="Title" useStoryboardIdentifierAsRestorationIdentifier="YES" id="0Qe-ZH-n0V" customClass="MainViewController" customModule="LGSideMenuControllerDemo" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="kKh-Ki-O6E"/>
<viewControllerLayoutGuide type="bottom" id="gXo-KC-dm7"/>
Expand Down Expand Up @@ -115,6 +118,25 @@
</objects>
<point key="canvasLocation" x="-750" y="573"/>
</scene>
<!--Title-->
<scene sceneID="Te9-Pt-mv1">
<objects>
<viewController storyboardIdentifier="RootViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="MTf-tf-opW" customClass="RootViewController" customModule="LGSideMenuControllerDemo" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="fvr-GC-bGf"/>
<viewControllerLayoutGuide type="bottom" id="wQP-on-YfB"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="NOh-GM-61Z">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
<navigationItem key="navigationItem" title="Title" id="1wR-lP-6Rb"/>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="aai-Vx-Ieg" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="831" y="573"/>
</scene>
</scenes>
<resources>
<systemColor name="systemBackgroundColor">
Expand Down
Loading

0 comments on commit 9375f98

Please sign in to comment.