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
a3df502b
Unverified
Commit
a3df502b
authored
Sep 09, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: updated access rights for RootControllers and animations for Menu
parent
41a518db
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
18 additions
and
18 deletions
+18
-18
Sources/iOS/BottomNavigationController.swift
+1
-1
Sources/iOS/ContentView.swift
+1
-1
Sources/iOS/Menu.swift
+0
-0
Sources/iOS/MenuController.swift
+2
-2
Sources/iOS/PageTabBarController.swift
+3
-3
Sources/iOS/PhotoLibraryController.swift
+1
-1
Sources/iOS/RemindersController.swift
+1
-1
Sources/iOS/SearchBarController.swift
+1
-1
Sources/iOS/SnackbarController.swift
+3
-3
Sources/iOS/StatusBarController.swift
+1
-1
Sources/iOS/ToolbarController.swift
+4
-4
No files found.
Sources/iOS/BottomNavigationController.swift
View file @
a3df502b
...
...
@@ -62,7 +62,7 @@ public enum BottomNavigationTransitionAnimation: Int {
@IBDesignable
open
class
BottomNavigationController
:
UITabBarController
,
UITabBarControllerDelegate
{
/// The transition animation to use when selecting a new tab.
open
var
transitionAnimation
:
BottomNavigationTransitionAnimation
=
.
fade
open
var
transitionAnimation
=
BottomNavigationTransitionAnimation
.
fade
/**
An initializer that initializes the object with a NSCoder object.
...
...
Sources/iOS/ContentView.swift
View file @
a3df502b
...
...
@@ -102,7 +102,7 @@ open class ContentView: View {
}
/// ContentView that holds the any desired subviews.
open
private(set)
lazy
var
contentView
=
UI
View
()
open
private(set)
lazy
var
contentView
=
View
()
/// Left side UIControls.
open
var
leftControls
=
[
UIView
]()
{
...
...
Sources/iOS/Menu.swift
View file @
a3df502b
This diff is collapsed.
Click to expand it.
Sources/iOS/MenuController.swift
View file @
a3df502b
...
...
@@ -51,7 +51,7 @@ extension UIViewController {
@IBDesignable
open
class
MenuController
:
RootController
{
/// Reference to the MenuView.
open
internal
(set)
lazy
var
menu
:
Menu
=
Menu
()
open
private
(set)
lazy
var
menu
:
Menu
=
Menu
()
/**
Opens the menu with a callback.
...
...
@@ -82,7 +82,7 @@ open class MenuController: RootController {
open
func
closeMenu
(
completion
:
(()
->
Void
)?
=
nil
)
{
if
false
==
isUserInteractionEnabled
{
rootViewController
.
view
.
alpha
=
1
menu
.
open
{
[
weak
self
]
(
view
)
in
menu
.
close
{
[
weak
self
]
(
view
)
in
guard
let
s
=
self
else
{
return
}
...
...
Sources/iOS/PageTabBarController.swift
View file @
a3df502b
...
...
@@ -100,6 +100,9 @@ public protocol PageTabBarControllerDelegate {
@objc(PageTabBarController)
open
class
PageTabBarController
:
RootController
{
/// Reference to the PageTabBar.
open
private(set)
lazy
var
pageTabBar
:
PageTabBar
=
PageTabBar
()
/// Indicates that the tab has been pressed and animating.
open
internal(set)
var
isTabSelectedAnimation
=
false
...
...
@@ -109,9 +112,6 @@ open class PageTabBarController: RootController {
/// PageTabBar alignment setting.
open
var
pageTabBarAlignment
=
PageTabBarAlignment
.
bottom
/// Reference to the PageTabBar.
open
internal(set)
lazy
var
pageTabBar
:
PageTabBar
=
PageTabBar
()
/// Delegation handler.
open
weak
var
delegate
:
PageTabBarControllerDelegate
?
...
...
Sources/iOS/PhotoLibraryController.swift
View file @
a3df502b
...
...
@@ -32,7 +32,7 @@ import UIKit
open
class
PhotoLibraryController
:
UIViewController
{
/// A reference to a PhotoLibrary.
public
private(set)
lazy
var
photoLibrary
:
PhotoLibrary
=
PhotoLibrary
()
open
private(set)
lazy
var
photoLibrary
:
PhotoLibrary
=
PhotoLibrary
()
open
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
Sources/iOS/RemindersController.swift
View file @
a3df502b
...
...
@@ -32,7 +32,7 @@ import UIKit
open
class
RemindersController
:
UIViewController
{
/// A reference to a Reminder.
public
private(set)
lazy
var
reminders
:
Reminders
=
Reminders
()
open
private(set)
lazy
var
reminders
:
Reminders
=
Reminders
()
open
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
Sources/iOS/SearchBarController.swift
View file @
a3df502b
...
...
@@ -50,7 +50,7 @@ extension UIViewController {
open
class
SearchBarController
:
RootController
{
/// Reference to the SearchBar.
open
internal
(set)
lazy
var
searchBar
:
SearchBar
=
SearchBar
()
open
private
(set)
lazy
var
searchBar
:
SearchBar
=
SearchBar
()
/**
To execute in the order of the layout chain, override this
...
...
Sources/iOS/SnackbarController.swift
View file @
a3df502b
...
...
@@ -86,12 +86,12 @@ extension UIViewController {
}
open
class
SnackbarController
:
RootController
{
/// Reference to the Snackbar.
open
private(set)
lazy
var
snackbar
:
Snackbar
=
Snackbar
()
/// A boolean indicating if the Snacbar is animating.
open
internal(set)
var
isAnimating
=
false
/// Reference to the Snackbar.
open
internal(set)
lazy
var
snackbar
:
Snackbar
=
Snackbar
()
/// Delegation handler.
open
weak
var
delegate
:
SnackbarControllerDelegate
?
...
...
Sources/iOS/StatusBarController.swift
View file @
a3df502b
...
...
@@ -51,7 +51,7 @@ extension UIViewController {
@IBDesignable
open
class
StatusBarController
:
RootController
{
/// A reference to the statusBarView.
open
internal
(set)
lazy
var
statusBarView
=
View
()
open
private
(set)
lazy
var
statusBarView
=
View
()
/**
To execute in the order of the layout chain, override this
...
...
Sources/iOS/ToolbarController.swift
View file @
a3df502b
...
...
@@ -69,12 +69,12 @@ public protocol ToolbarControllerDelegate {
@objc(ToolbarController)
open
class
ToolbarController
:
RootController
{
/// Internal reference to the floatingViewController.
/// Reference to the Toolbar.
open
private(set)
lazy
var
toolbar
:
Toolbar
=
Toolbar
()
/// Internal reference to the floatingViewController.
private
var
internalFloatingViewController
:
UIViewController
?
/// Reference to the Toolbar.
open
internal(set)
lazy
var
toolbar
:
Toolbar
=
Toolbar
()
/// Delegation handler.
open
weak
var
delegate
:
ToolbarControllerDelegate
?
...
...
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