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
ad181c7a
Commit
ad181c7a
authored
Nov 14, 2015
by
danieldahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SideView no longer needs viewDidLoad
parent
3e1cdccc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
10 deletions
+1
-10
Source/SideNavigationViewController.swift
+1
-10
No files found.
Source/SideNavigationViewController.swift
View file @
ad181c7a
...
@@ -153,14 +153,6 @@ public class SideNavigationViewController: UIViewController, UIGestureRecognizer
...
@@ -153,14 +153,6 @@ public class SideNavigationViewController: UIViewController, UIGestureRecognizer
}
}
/**
/**
:name: viewDidLoad
*/
public
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
edgesForExtendedLayout
=
.
None
}
/**
:name: viewWillLayoutSubviews
:name: viewWillLayoutSubviews
*/
*/
public
override
func
viewWillLayoutSubviews
()
{
public
override
func
viewWillLayoutSubviews
()
{
...
@@ -276,8 +268,7 @@ public class SideNavigationViewController: UIViewController, UIGestureRecognizer
...
@@ -276,8 +268,7 @@ public class SideNavigationViewController: UIViewController, UIGestureRecognizer
//
//
internal
func
prepareMainView
()
{
internal
func
prepareMainView
()
{
prepareViewControllerWithinContainer
(
mainViewController
,
container
:
view
)
prepareViewControllerWithinContainer
(
mainViewController
,
container
:
view
)
mainViewController
.
view
.
translatesAutoresizingMaskIntoConstraints
=
false
mainViewController
.
view
.
frame
=
view
.
bounds
MaterialLayout
.
alignToParent
(
view
,
child
:
mainViewController
.
view
)
}
}
//
//
...
...
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