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
27a3cda2
Commit
27a3cda2
authored
Sep 29, 2016
by
adamdahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding NavigationDrawerController storyboards example project
parent
ed5c1030
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
438 additions
and
0 deletions
+438
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController.xcodeproj/project.pbxproj
+0
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+7
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/AppDelegate.swift
+65
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/AppNavigationDrawerController.swift
+78
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/Assets.xcassets/AppIcon.appiconset/Contents.json
+39
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/Base.lproj/LaunchScreen.storyboard
+27
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/Base.lproj/Main.storyboard
+63
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/Info.plist
+38
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/LeftViewController.swift
+38
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/RightViewController.swift
+38
-0
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/RootViewController.swift
+38
-0
Material.xcworkspace/contents.xcworkspacedata
+7
-0
No files found.
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController.xcodeproj/project.pbxproj
0 → 100644
View file @
27a3cda2
This diff is collapsed.
Click to expand it.
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController.xcodeproj/project.xcworkspace/contents.xcworkspacedata
0 → 100644
View file @
27a3cda2
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version =
"1.0"
>
<FileRef
location =
"self:NavigationDrawerController.xcodeproj"
>
</FileRef>
</Workspace>
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/AppDelegate.swift
0 → 100644
View file @
27a3cda2
/*
* Copyright (C) 2015 - 2016, Daniel Dahan and CosmicMind, Inc. <http://cosmicmind.io>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither the name of CosmicMind nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import
UIKit
import
Material
extension
UIStoryboard
{
class
func
viewController
(
identifier
:
String
)
->
UIViewController
{
return
UIStoryboard
(
name
:
"Main"
,
bundle
:
nil
)
.
instantiateViewController
(
withIdentifier
:
identifier
)
}
}
@UIApplicationMain
class
AppDelegate
:
UIResponder
,
UIApplicationDelegate
{
var
window
:
UIWindow
?
lazy
var
rootViewController
:
RootViewController
=
{
return
UIStoryboard
.
viewController
(
identifier
:
"RootViewController"
)
as!
RootViewController
}()
lazy
var
leftViewController
:
LeftViewController
=
{
return
UIStoryboard
.
viewController
(
identifier
:
"LeftViewController"
)
as!
LeftViewController
}()
lazy
var
rightViewController
:
RightViewController
=
{
return
UIStoryboard
.
viewController
(
identifier
:
"RightViewController"
)
as!
RightViewController
}()
func
applicationDidFinishLaunching
(
_
application
:
UIApplication
)
{
window
=
UIWindow
(
frame
:
Device
.
bounds
)
window
!.
rootViewController
=
AppNavigationDrawerController
(
rootViewController
:
rootViewController
,
leftViewController
:
leftViewController
,
rightViewController
:
rightViewController
)
window
!.
makeKeyAndVisible
()
}
}
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/AppNavigationDrawerController.swift
0 → 100644
View file @
27a3cda2
/*
* Copyright (C) 2015 - 2016, Daniel Dahan and CosmicMind, Inc. <http://cosmicmind.io>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither the name of CosmicMind nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import
UIKit
import
Material
class
AppNavigationDrawerController
:
NavigationDrawerController
{
open
override
func
prepare
()
{
super
.
prepare
()
delegate
=
self
}
}
extension
AppNavigationDrawerController
:
NavigationDrawerControllerDelegate
{
func
navigationDrawerController
(
navigationDrawerController
:
NavigationDrawerController
,
willOpen
position
:
NavigationDrawerPosition
)
{
print
(
"navigationDrawerController willOpen"
)
}
func
navigationDrawerController
(
navigationDrawerController
:
NavigationDrawerController
,
didOpen
position
:
NavigationDrawerPosition
)
{
print
(
"navigationDrawerController didOpen"
)
}
func
navigationDrawerController
(
navigationDrawerController
:
NavigationDrawerController
,
willClose
position
:
NavigationDrawerPosition
)
{
print
(
"navigationDrawerController willClose"
)
}
func
navigationDrawerController
(
navigationDrawerController
:
NavigationDrawerController
,
didClose
position
:
NavigationDrawerPosition
)
{
print
(
"navigationDrawerController didClose"
)
}
func
navigationDrawerController
(
navigationDrawerController
:
NavigationDrawerController
,
didBeginPanAt
point
:
CGPoint
,
position
:
NavigationDrawerPosition
)
{
print
(
"navigationDrawerController didBeginPanAt: "
,
point
,
"with position:"
,
.
left
==
position
?
"Left"
:
"Right"
)
}
func
navigationDrawerController
(
navigationDrawerController
:
NavigationDrawerController
,
didChangePanAt
point
:
CGPoint
,
position
:
NavigationDrawerPosition
)
{
print
(
"navigationDrawerController didChangePanAt: "
,
point
,
"with position:"
,
.
left
==
position
?
"Left"
:
"Right"
)
}
func
navigationDrawerController
(
navigationDrawerController
:
NavigationDrawerController
,
didEndPanAt
point
:
CGPoint
,
position
:
NavigationDrawerPosition
)
{
print
(
"navigationDrawerController didEndPanAt: "
,
point
,
"with position:"
,
.
left
==
position
?
"Left"
:
"Right"
)
}
func
navigationDrawerController
(
navigationDrawerController
:
NavigationDrawerController
,
didTapAt
point
:
CGPoint
,
position
:
NavigationDrawerPosition
)
{
print
(
"navigationDrawerController didTapAt: "
,
point
,
"with position:"
,
.
left
==
position
?
"Left"
:
"Right"
)
}
func
navigationDrawerController
(
navigationDrawerController
:
NavigationDrawerController
,
statusBar
isHidden
:
Bool
)
{
print
(
"navigationDrawerController statusBar is hidden:"
,
isHidden
?
"Yes"
:
"No"
)
}
}
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/Assets.xcassets/AppIcon.appiconset/Contents.json
0 → 100644
View file @
27a3cda2
{
"images"
:
[
{
"idiom"
:
"iphone"
,
"size"
:
"29x29"
,
"scale"
:
"2x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"29x29"
,
"scale"
:
"3x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"40x40"
,
"scale"
:
"2x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"40x40"
,
"scale"
:
"3x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"60x60"
,
"scale"
:
"2x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"60x60"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/Base.lproj/LaunchScreen.storyboard
0 → 100644
View file @
27a3cda2
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"11134"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
launchScreen=
"YES"
useTraitCollections=
"YES"
colorMatched=
"YES"
initialViewController=
"01J-lp-oVM"
>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"11106"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<scenes>
<!--View Controller-->
<scene
sceneID=
"EHf-IW-A2E"
>
<objects>
<viewController
id=
"01J-lp-oVM"
sceneMemberID=
"viewController"
>
<layoutGuides>
<viewControllerLayoutGuide
type=
"top"
id=
"Llm-lL-Icb"
/>
<viewControllerLayoutGuide
type=
"bottom"
id=
"xb3-aO-Qok"
/>
</layoutGuides>
<view
key=
"view"
contentMode=
"scaleToFill"
id=
"Ze5-6b-2t3"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"667"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</view>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"iYj-Kq-Ea1"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"53"
y=
"375"
/>
</scene>
</scenes>
</document>
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/Base.lproj/Main.storyboard
0 → 100644
View file @
27a3cda2
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"11201"
systemVersion=
"16A323"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
colorMatched=
"YES"
>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"11161"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<scenes>
<!--Root View Controller-->
<scene
sceneID=
"tne-QT-ifu"
>
<objects>
<viewController
storyboardIdentifier=
"RootViewController"
useStoryboardIdentifierAsRestorationIdentifier=
"YES"
id=
"BYZ-38-t0r"
customClass=
"RootViewController"
customModule=
"NavigationDrawerController"
customModuleProvider=
"target"
sceneMemberID=
"viewController"
>
<layoutGuides>
<viewControllerLayoutGuide
type=
"top"
id=
"y3c-jy-aDJ"
/>
<viewControllerLayoutGuide
type=
"bottom"
id=
"wfy-db-euE"
/>
</layoutGuides>
<view
key=
"view"
contentMode=
"scaleToFill"
id=
"8bC-Xf-vdC"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"667"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
cocoaTouchSystemColor=
"groupTableViewBackgroundColor"
/>
</view>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"dkx-z0-nzr"
sceneMemberID=
"firstResponder"
/>
</objects>
</scene>
<!--Left View Controller-->
<scene
sceneID=
"l3R-G5-8NW"
>
<objects>
<viewController
storyboardIdentifier=
"LeftViewController"
useStoryboardIdentifierAsRestorationIdentifier=
"YES"
id=
"pOo-gx-wdS"
customClass=
"LeftViewController"
customModule=
"NavigationDrawerController"
customModuleProvider=
"target"
sceneMemberID=
"viewController"
>
<layoutGuides>
<viewControllerLayoutGuide
type=
"top"
id=
"wTY-j1-BpL"
/>
<viewControllerLayoutGuide
type=
"bottom"
id=
"SlY-aW-siN"
/>
</layoutGuides>
<view
key=
"view"
contentMode=
"scaleToFill"
id=
"BD7-MM-pC3"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"667"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.0"
green=
"0.50196081400000003"
blue=
"1"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"96b-mk-IgG"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"863"
y=
"135"
/>
</scene>
<!--Right View Controller-->
<scene
sceneID=
"eQ7-sU-MFL"
>
<objects>
<viewController
storyboardIdentifier=
"RightViewController"
useStoryboardIdentifierAsRestorationIdentifier=
"YES"
id=
"RXU-XI-irg"
customClass=
"RightViewController"
customModule=
"NavigationDrawerController"
customModuleProvider=
"target"
sceneMemberID=
"viewController"
>
<layoutGuides>
<viewControllerLayoutGuide
type=
"top"
id=
"WPU-yj-7jW"
/>
<viewControllerLayoutGuide
type=
"bottom"
id=
"01F-6U-uig"
/>
</layoutGuides>
<view
key=
"view"
contentMode=
"scaleToFill"
id=
"Poa-FJ-U8I"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"667"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.58431372550000005"
green=
"0.45882352939999999"
blue=
"0.80392156859999997"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"Lnc-rk-xrV"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"1735"
y=
"134"
/>
</scene>
</scenes>
</document>
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/Info.plist
0 → 100644
View file @
27a3cda2
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
string
>
en
<
/string
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
$
(
PRODUCT_BUNDLE_IDENTIFIER
)<
/string
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
$
(
PRODUCT_NAME
)<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.0
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1
<
/string
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
<
string
>
LaunchScreen
<
/string
>
<
k
e
y
>
UIMainStoryboardFile
<
/k
e
y
>
<
string
>
Main
<
/string
>
<
k
e
y
>
UIRequiredDeviceCapabilities
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
armv7
<
/string
>
<
/
a
rr
a
y
>
<
k
e
y
>
UISupportedInterfaceOrientations
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
UIInterfaceOrientationPortrait
<
/string
>
<
string
>
UIInterfaceOrientationLandscapeLeft
<
/string
>
<
string
>
UIInterfaceOrientationLandscapeRight
<
/string
>
<
/
a
rr
a
y
>
<
/
d
i
c
t
>
<
/plist
>
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/LeftViewController.swift
0 → 100644
View file @
27a3cda2
/*
* Copyright (C) 2015 - 2016, Daniel Dahan and CosmicMind, Inc. <http://cosmicmind.io>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither the name of CosmicMind nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import
UIKit
import
Material
class
LeftViewController
:
UIViewController
{
open
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
}
}
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/RightViewController.swift
0 → 100644
View file @
27a3cda2
/*
* Copyright (C) 2015 - 2016, Daniel Dahan and CosmicMind, Inc. <http://cosmicmind.io>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither the name of CosmicMind nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import
UIKit
import
Material
class
RightViewController
:
UIViewController
{
open
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
}
}
Examples/Storyboards/NavigationDrawerController/NavigationDrawerController/RootViewController.swift
0 → 100644
View file @
27a3cda2
/*
* Copyright (C) 2015 - 2016, Daniel Dahan and CosmicMind, Inc. <http://cosmicmind.io>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither the name of CosmicMind nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import
UIKit
import
Material
class
RootViewController
:
UIViewController
{
open
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
}
}
Material.xcworkspace/contents.xcworkspacedata
View file @
27a3cda2
...
@@ -9,6 +9,13 @@
...
@@ -9,6 +9,13 @@
name =
"Examples"
>
name =
"Examples"
>
<Group
<Group
location =
"container:"
location =
"container:"
name =
"Storyboards"
>
<FileRef
location =
"group:Examples/Storyboards/NavigationDrawerController/NavigationDrawerController.xcodeproj"
>
</FileRef>
</Group>
<Group
location =
"container:"
name =
"Programmatic"
>
name =
"Programmatic"
>
<FileRef
<FileRef
location =
"group:Examples/Programmatic/Bar/Bar.xcodeproj"
>
location =
"group:Examples/Programmatic/Bar/Bar.xcodeproj"
>
...
...
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