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
e76b1a27
Commit
e76b1a27
authored
Jan 25, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
second round update for SideNav with right view
parent
80768582
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
Examples/Programmatic/SideNavigationViewController/SideNavigationViewController.xcodeproj/project.pbxproj
+1
-1
Examples/Programmatic/SideNavigationViewController/SideNavigationViewController/AppDelegate.swift
+1
-1
Examples/Programmatic/SideNavigationViewController/SideNavigationViewController/MainViewController.swift
+1
-1
Sources/SideNavigationViewController.swift
+0
-0
No files found.
Examples/Programmatic/SideNavigationViewController/SideNavigationViewController.xcodeproj/project.pbxproj
View file @
e76b1a27
...
@@ -78,10 +78,10 @@
...
@@ -78,10 +78,10 @@
9642FA1A1C1B50E700022BC6
/* AppDelegate.swift */
,
9642FA1A1C1B50E700022BC6
/* AppDelegate.swift */
,
9642FA1C1C1B50E700022BC6
/* MainViewController.swift */
,
9642FA1C1C1B50E700022BC6
/* MainViewController.swift */
,
9642FA321C1B909700022BC6
/* LeftViewController.swift */
,
9642FA321C1B909700022BC6
/* LeftViewController.swift */
,
967585371C569AA9001E4268
/* RightViewController.swift */
,
9642FA211C1B50E700022BC6
/* Assets.xcassets */
,
9642FA211C1B50E700022BC6
/* Assets.xcassets */
,
9642FA231C1B50E700022BC6
/* LaunchScreen.storyboard */
,
9642FA231C1B50E700022BC6
/* LaunchScreen.storyboard */
,
9642FA261C1B50E700022BC6
/* Info.plist */
,
9642FA261C1B50E700022BC6
/* Info.plist */
,
967585371C569AA9001E4268
/* RightViewController.swift */
,
);
);
path
=
SideNavigationViewController
;
path
=
SideNavigationViewController
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
...
Examples/Programmatic/SideNavigationViewController/SideNavigationViewController/AppDelegate.swift
View file @
e76b1a27
...
@@ -39,7 +39,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
...
@@ -39,7 +39,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func
application
(
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
NSObject
:
AnyObject
]?)
->
Bool
{
func
application
(
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
NSObject
:
AnyObject
]?)
->
Bool
{
// Override point for customization after application launch.
// Override point for customization after application launch.
window
=
UIWindow
(
frame
:
UIScreen
.
mainScreen
()
.
bounds
)
window
=
UIWindow
(
frame
:
UIScreen
.
mainScreen
()
.
bounds
)
window
!.
rootViewController
=
SideNavigationViewController
(
mainViewController
:
MainViewController
(),
leftViewController
:
LeftViewController
())
window
!.
rootViewController
=
SideNavigationViewController
(
mainViewController
:
MainViewController
(),
leftViewController
:
LeftViewController
()
,
rightViewController
:
RightViewController
()
)
window
!.
makeKeyAndVisible
()
window
!.
makeKeyAndVisible
()
return
true
return
true
}
}
...
...
Examples/Programmatic/SideNavigationViewController/SideNavigationViewController/MainViewController.swift
View file @
e76b1a27
...
@@ -77,7 +77,7 @@ class MainViewController: UIViewController {
...
@@ -77,7 +77,7 @@ class MainViewController: UIViewController {
SideNavigationViewController.
SideNavigationViewController.
*/
*/
func
handleMenuButton
()
{
func
handleMenuButton
()
{
sideNavigationViewController
?
.
open
()
sideNavigationViewController
?
.
open
LeftView
()
}
}
/// Prepares view.
/// Prepares view.
...
...
Sources/SideNavigationViewController.swift
View file @
e76b1a27
This diff is collapsed.
Click to expand it.
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