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
ae942942
Commit
ae942942
authored
Aug 18, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: minor cleanup to TabBarController
parent
93842963
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
20 deletions
+2
-20
Sources/iOS/BottomNavigationController.swift
+1
-1
Sources/iOS/NavigationController.swift
+1
-1
Sources/iOS/TabBarController.swift
+0
-18
No files found.
Sources/iOS/BottomNavigationController.swift
View file @
ae942942
...
...
@@ -30,7 +30,7 @@
import
UIKit
public
class
BottomNavigationFadeAnimatedTransitioning
:
NSObject
,
UIViewControllerAnimatedTransitioning
{
public
class
BottomNavigationFadeAnimatedTransitioning
:
NSObject
,
UIViewControllerAnimatedTransitioning
{
public
func
animateTransition
(
using
transitionContext
:
UIViewControllerContextTransitioning
)
{
let
fromView
:
UIView
=
transitionContext
.
view
(
forKey
:
UITransitionContextViewKey
.
from
)
!
let
toView
:
UIView
=
transitionContext
.
view
(
forKey
:
UITransitionContextViewKey
.
to
)
!
...
...
Sources/iOS/NavigationController.swift
View file @
ae942942
...
...
@@ -31,7 +31,7 @@
import
UIKit
@IBDesignable
open
class
NavigationController
:
UINavigationController
,
UIGestureRecognizerDelegate
{
open
class
NavigationController
:
UINavigationController
,
UIGestureRecognizerDelegate
{
/**
An initializer that initializes the object with a NSCoder object.
- Parameter aDecoder: A NSCoder instance.
...
...
Sources/iOS/TabBarController.swift
View file @
ae942942
...
...
@@ -30,24 +30,6 @@
import
UIKit
//extension UIViewController {
// /**
// A convenience property that provides access to the TabBarController.
// This is the recommended method of accessing the TabBarController
// through child UIViewControllers.
// */
// public var tabBarController: TabBarController? {
// var viewController: UIViewController? = self
// while nil != viewController {
// if viewController is TabBarController {
// return viewController as? TabBarController
// }
// viewController = viewController?.parent
// }
// return nil
// }
//}
@objc(TabBarControllerDelegate)
public
protocol
TabBarControllerDelegate
:
MaterialDelegate
{
...
...
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