Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
54ea0e75
Commit
54ea0e75
authored
Jun 09, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated hierarchy to allow hiding of BottomNavigationController
parent
58ad1c38
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
Examples/Programmatic/App/App.xcodeproj/project.pbxproj
+6
-0
Examples/Programmatic/App/App/AppDelegate.swift
+5
-4
Examples/Programmatic/SideNavigationController/SideNavigationController.xcodeproj/project.pbxproj
+0
-6
No files found.
Examples/Programmatic/App/App.xcodeproj/project.pbxproj
View file @
54ea0e75
...
@@ -7,6 +7,8 @@
...
@@ -7,6 +7,8 @@
objects
=
{
objects
=
{
/* Begin PBXBuildFile section */
/* Begin PBXBuildFile section */
960CDA461D09F84000387CE8
/* Material.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
960CDA451D09F84000387CE8
/* Material.framework */
;
};
960CDA471D09F84000387CE8
/* Material.framework in Embed Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
960CDA451D09F84000387CE8
/* Material.framework */
;
settings
=
{
ATTRIBUTES
=
(
CodeSignOnCopy
,
RemoveHeadersOnCopy
,
);
};
};
96162C6C1CA71C8700E3A235
/* VideoViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96162C6B1CA71C8700E3A235
/* VideoViewController.swift */
;
};
96162C6C1CA71C8700E3A235
/* VideoViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96162C6B1CA71C8700E3A235
/* VideoViewController.swift */
;
};
96162C6E1CA7274E00E3A235
/* PhotoViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96162C6D1CA7274E00E3A235
/* PhotoViewController.swift */
;
};
96162C6E1CA7274E00E3A235
/* PhotoViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96162C6D1CA7274E00E3A235
/* PhotoViewController.swift */
;
};
9663F9321C7A744600AF0965
/* AppDelegate.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9663F9311C7A744600AF0965
/* AppDelegate.swift */
;
};
9663F9321C7A744600AF0965
/* AppDelegate.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9663F9311C7A744600AF0965
/* AppDelegate.swift */
;
};
...
@@ -28,6 +30,7 @@
...
@@ -28,6 +30,7 @@
dstPath
=
""
;
dstPath
=
""
;
dstSubfolderSpec
=
10
;
dstSubfolderSpec
=
10
;
files
=
(
files
=
(
960CDA471D09F84000387CE8
/* Material.framework in Embed Frameworks */
,
);
);
name
=
"Embed Frameworks"
;
name
=
"Embed Frameworks"
;
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
...
@@ -35,6 +38,7 @@
...
@@ -35,6 +38,7 @@
/* End PBXCopyFilesBuildPhase section */
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
/* Begin PBXFileReference section */
960CDA451D09F84000387CE8
/* Material.framework */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.framework
;
name
=
Material.framework
;
path
=
"/Users/danieldahan/Library/Developer/Xcode/DerivedData/Material-dciwtavdzrmtrifplxfnouazaqvx/Build/Products/Debug-iphoneos/Material.framework"
;
sourceTree
=
"<absolute>"
;
};
96162C6B1CA71C8700E3A235
/* VideoViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
VideoViewController.swift
;
sourceTree
=
"<group>"
;
};
96162C6B1CA71C8700E3A235
/* VideoViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
VideoViewController.swift
;
sourceTree
=
"<group>"
;
};
96162C6D1CA7274E00E3A235
/* PhotoViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PhotoViewController.swift
;
sourceTree
=
"<group>"
;
};
96162C6D1CA7274E00E3A235
/* PhotoViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PhotoViewController.swift
;
sourceTree
=
"<group>"
;
};
9663F92E1C7A744600AF0965
/* App.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
App.app
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
9663F92E1C7A744600AF0965
/* App.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
App.app
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
...
@@ -56,6 +60,7 @@
...
@@ -56,6 +60,7 @@
isa
=
PBXFrameworksBuildPhase
;
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
buildActionMask
=
2147483647
;
files
=
(
files
=
(
960CDA461D09F84000387CE8
/* Material.framework in Frameworks */
,
);
);
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
};
};
...
@@ -65,6 +70,7 @@
...
@@ -65,6 +70,7 @@
9663F9251C7A744500AF0965
=
{
9663F9251C7A744500AF0965
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
960CDA451D09F84000387CE8
/* Material.framework */
,
9663F9301C7A744600AF0965
/* App */
,
9663F9301C7A744600AF0965
/* App */
,
9663F92F1C7A744600AF0965
/* Products */
,
9663F92F1C7A744600AF0965
/* Products */
,
);
);
...
...
Examples/Programmatic/App/App/AppDelegate.swift
View file @
54ea0e75
...
@@ -37,9 +37,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
...
@@ -37,9 +37,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var
window
:
UIWindow
?
var
window
:
UIWindow
?
func
application
(
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
NSObject
:
AnyObject
]?)
->
Bool
{
func
application
(
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
NSObject
:
AnyObject
]?)
->
Bool
{
let
navigationController
:
AppNavigationController
=
AppNavigationController
(
rootViewController
:
RecipesViewController
())
let
menuController
:
AppMenuController
=
AppMenuController
(
rootViewController
:
RecipesViewController
())
let
menuController
:
AppMenuController
=
AppMenuController
(
rootViewController
:
navigationController
)
menuController
.
edgesForExtendedLayout
=
.
None
menuController
.
edgesForExtendedLayout
=
.
None
let
bottomNavigationController
:
BottomNavigationController
=
BottomNavigationController
()
let
bottomNavigationController
:
BottomNavigationController
=
BottomNavigationController
()
...
@@ -48,7 +47,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
...
@@ -48,7 +47,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
bottomNavigationController
.
tabBar
.
tintColor
=
MaterialColor
.
white
bottomNavigationController
.
tabBar
.
tintColor
=
MaterialColor
.
white
bottomNavigationController
.
tabBar
.
backgroundColor
=
MaterialColor
.
grey
.
darken4
bottomNavigationController
.
tabBar
.
backgroundColor
=
MaterialColor
.
grey
.
darken4
let
sideNavigationController
:
SideNavigationController
=
SideNavigationController
(
rootViewController
:
bottomNavigationController
,
leftViewController
:
AppLeftViewController
())
let
navigationController
:
AppNavigationController
=
AppNavigationController
(
rootViewController
:
bottomNavigationController
)
let
sideNavigationController
:
SideNavigationController
=
SideNavigationController
(
rootViewController
:
navigationController
,
leftViewController
:
AppLeftViewController
())
sideNavigationController
.
statusBarStyle
=
.
LightContent
sideNavigationController
.
statusBarStyle
=
.
LightContent
window
=
UIWindow
(
frame
:
UIScreen
.
mainScreen
()
.
bounds
)
window
=
UIWindow
(
frame
:
UIScreen
.
mainScreen
()
.
bounds
)
...
...
Examples/Programmatic/SideNavigationController/SideNavigationController.xcodeproj/project.pbxproj
View file @
54ea0e75
...
@@ -7,8 +7,6 @@
...
@@ -7,8 +7,6 @@
objects
=
{
objects
=
{
/* Begin PBXBuildFile section */
/* Begin PBXBuildFile section */
960CDA3D1D086FE200387CE8
/* Material.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
960CDA3C1D086FE200387CE8
/* Material.framework */
;
};
960CDA3E1D086FE200387CE8
/* Material.framework in Embed Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
960CDA3C1D086FE200387CE8
/* Material.framework */
;
settings
=
{
ATTRIBUTES
=
(
CodeSignOnCopy
,
RemoveHeadersOnCopy
,
);
};
};
96E5E4671CC1E5EC0054837B
/* PurpleViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96E5E4661CC1E5EC0054837B
/* PurpleViewController.swift */
;
};
96E5E4671CC1E5EC0054837B
/* PurpleViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96E5E4661CC1E5EC0054837B
/* PurpleViewController.swift */
;
};
96E5E4691CC1E6130054837B
/* OrangeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96E5E4681CC1E6130054837B
/* OrangeViewController.swift */
;
};
96E5E4691CC1E6130054837B
/* OrangeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96E5E4681CC1E6130054837B
/* OrangeViewController.swift */
;
};
96E5E46B1CC1E8FB0054837B
/* AppLeftViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96E5E46A1CC1E8FB0054837B
/* AppLeftViewController.swift */
;
};
96E5E46B1CC1E8FB0054837B
/* AppLeftViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96E5E46A1CC1E8FB0054837B
/* AppLeftViewController.swift */
;
};
...
@@ -27,7 +25,6 @@
...
@@ -27,7 +25,6 @@
dstPath
=
""
;
dstPath
=
""
;
dstSubfolderSpec
=
10
;
dstSubfolderSpec
=
10
;
files
=
(
files
=
(
960CDA3E1D086FE200387CE8
/* Material.framework in Embed Frameworks */
,
);
);
name
=
"Embed Frameworks"
;
name
=
"Embed Frameworks"
;
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
...
@@ -35,7 +32,6 @@
...
@@ -35,7 +32,6 @@
/* End PBXCopyFilesBuildPhase section */
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
/* Begin PBXFileReference section */
960CDA3C1D086FE200387CE8
/* Material.framework */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.framework
;
name
=
Material.framework
;
path
=
"/Users/danieldahan/Library/Developer/Xcode/DerivedData/Material-dciwtavdzrmtrifplxfnouazaqvx/Build/Products/Debug-iphoneos/Material.framework"
;
sourceTree
=
"<absolute>"
;
};
9663F9651C7ADCB600AF0965
/* SideNavigationController.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
SideNavigationController.app
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
9663F9651C7ADCB600AF0965
/* SideNavigationController.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
SideNavigationController.app
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
96E5E4661CC1E5EC0054837B
/* PurpleViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PurpleViewController.swift
;
sourceTree
=
"<group>"
;
};
96E5E4661CC1E5EC0054837B
/* PurpleViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PurpleViewController.swift
;
sourceTree
=
"<group>"
;
};
96E5E4681CC1E6130054837B
/* OrangeViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
OrangeViewController.swift
;
sourceTree
=
"<group>"
;
};
96E5E4681CC1E6130054837B
/* OrangeViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
OrangeViewController.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -54,7 +50,6 @@
...
@@ -54,7 +50,6 @@
isa
=
PBXFrameworksBuildPhase
;
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
buildActionMask
=
2147483647
;
files
=
(
files
=
(
960CDA3D1D086FE200387CE8
/* Material.framework in Frameworks */
,
);
);
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
};
};
...
@@ -64,7 +59,6 @@
...
@@ -64,7 +59,6 @@
9663F95C1C7ADCB600AF0965
=
{
9663F95C1C7ADCB600AF0965
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
960CDA3C1D086FE200387CE8
/* Material.framework */
,
96F2F1FC1C97A68800A5FE27
/* SideNavigationController */
,
96F2F1FC1C97A68800A5FE27
/* SideNavigationController */
,
9663F9661C7ADCB600AF0965
/* Products */
,
9663F9661C7ADCB600AF0965
/* Products */
,
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment