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
452bc8f0
Unverified
Commit
452bc8f0
authored
Aug 25, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: PageController now animates TabBar line while panning
parent
6554f20e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
71 additions
and
52 deletions
+71
-52
Material.xcodeproj/project.pbxproj
+19
-3
Sources/iOS/ControlView.swift
+6
-0
Sources/iOS/Menu.swift
+10
-10
Sources/iOS/NavigationDrawerController.swift
+6
-6
Sources/iOS/PageController.swift
+26
-29
Sources/iOS/SearchBarController.swift
+2
-2
Sources/iOS/ToolbarController.swift
+2
-2
No files found.
Material.xcodeproj/project.pbxproj
View file @
452bc8f0
...
@@ -357,6 +357,23 @@
...
@@ -357,6 +357,23 @@
name
=
Data
;
name
=
Data
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
962DDD071D6FBBB7001C307C
/* Page */
=
{
isa
=
PBXGroup
;
children
=
(
963FBF071D669D14008F8512
/* PageController.swift */
,
);
name
=
Page
;
sourceTree
=
"<group>"
;
};
962DDD081D6FBBD0001C307C
/* BottomTabBar */
=
{
isa
=
PBXGroup
;
children
=
(
96BCB7591CB40DC500C806FE
/* BottomTabBar.swift */
,
96BCB7581CB40DC500C806FE
/* BottomNavigationController.swift */
,
);
name
=
BottomTabBar
;
sourceTree
=
"<group>"
;
};
9638322C1B88DFD80015F710
=
{
9638322C1B88DFD80015F710
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -407,9 +424,6 @@
...
@@ -407,9 +424,6 @@
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
96BCB79A1CB40DC500C806FE
/* TabBar.swift */
,
96BCB79A1CB40DC500C806FE
/* TabBar.swift */
,
963FBF071D669D14008F8512
/* PageController.swift */
,
96BCB7581CB40DC500C806FE
/* BottomNavigationController.swift */
,
96BCB7591CB40DC500C806FE
/* BottomTabBar.swift */
,
);
);
name
=
TabBar
;
name
=
TabBar
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -494,6 +508,7 @@
...
@@ -494,6 +508,7 @@
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
96BCB8091CB4107700C806FE
/* Animate */
,
96BCB8091CB4107700C806FE
/* Animate */
,
962DDD081D6FBBD0001C307C
/* BottomTabBar */
,
96BCB8031CB40F4B00C806FE
/* Button */
,
96BCB8031CB40F4B00C806FE
/* Button */
,
96BCB8021CB40F3B00C806FE
/* Card */
,
96BCB8021CB40F3B00C806FE
/* Card */
,
96BCB7FF1CB40EF000C806FE
/* Capture */
,
96BCB7FF1CB40EF000C806FE
/* Capture */
,
...
@@ -512,6 +527,7 @@
...
@@ -512,6 +527,7 @@
96BCB80D1CB410FD00C806FE
/* Layer */
,
96BCB80D1CB410FD00C806FE
/* Layer */
,
96BCB8041CB40F6C00C806FE
/* Layout */
,
96BCB8041CB40F6C00C806FE
/* Layout */
,
96BCB8011CB40F1700C806FE
/* Navigation */
,
96BCB8011CB40F1700C806FE
/* Navigation */
,
962DDD071D6FBBB7001C307C
/* Page */
,
96EA9A411D4E68E60052C74D
/* PhotoLibrary */
,
96EA9A411D4E68E60052C74D
/* PhotoLibrary */
,
963FBF031D6696EF008F8512
/* SearchBar */
,
963FBF031D6696EF008F8512
/* SearchBar */
,
963FBEFB1D6694E8008F8512
/* Snackbar */
,
963FBEFB1D6694E8008F8512
/* Snackbar */
,
...
...
Sources/iOS/ControlView.swift
View file @
452bc8f0
...
@@ -93,6 +93,9 @@ open class ControlView: View {
...
@@ -93,6 +93,9 @@ open class ControlView: View {
/// Left side UIControls.
/// Left side UIControls.
open
var
leftControls
=
[
UIView
]()
{
open
var
leftControls
=
[
UIView
]()
{
didSet
{
didSet
{
for
v
in
oldValue
{
v
.
removeFromSuperview
()
}
layoutSubviews
()
layoutSubviews
()
}
}
}
}
...
@@ -100,6 +103,9 @@ open class ControlView: View {
...
@@ -100,6 +103,9 @@ open class ControlView: View {
/// Right side UIControls.
/// Right side UIControls.
open
var
rightControls
=
[
UIView
]()
{
open
var
rightControls
=
[
UIView
]()
{
didSet
{
didSet
{
for
v
in
oldValue
{
v
.
removeFromSuperview
()
}
layoutSubviews
()
layoutSubviews
()
}
}
}
}
...
...
Sources/iOS/Menu.swift
View file @
452bc8f0
...
@@ -187,7 +187,7 @@ public class Menu {
...
@@ -187,7 +187,7 @@ public class Menu {
animations
:
{
[
weak
self
]
in
animations
:
{
[
weak
self
]
in
if
let
s
:
Menu
=
self
{
if
let
s
:
Menu
=
self
{
view
.
alpha
=
1
view
.
alpha
=
1
view
.
frame
.
origin
.
y
=
base
!.
frame
.
origin
.
y
-
CGFloat
(
i
)
*
s
.
itemSize
.
height
-
CGFloat
(
i
)
*
s
.
interimSpace
view
.
y
=
base
!
.
y
-
CGFloat
(
i
)
*
s
.
itemSize
.
height
-
CGFloat
(
i
)
*
s
.
interimSpace
animations
?(
view
)
animations
?(
view
)
}
}
})
{
[
weak
self
]
_
in
})
{
[
weak
self
]
_
in
...
@@ -226,7 +226,7 @@ public class Menu {
...
@@ -226,7 +226,7 @@ public class Menu {
animations
:
{
[
weak
self
]
in
animations
:
{
[
weak
self
]
in
if
let
s
:
Menu
=
self
{
if
let
s
:
Menu
=
self
{
view
.
alpha
=
0
view
.
alpha
=
0
view
.
frame
.
origin
.
y
=
s
.
origin
.
y
view
.
y
=
s
.
origin
.
y
animations
?(
view
)
animations
?(
view
)
}
}
})
{
[
weak
self
]
_
in
})
{
[
weak
self
]
_
in
...
@@ -273,7 +273,7 @@ public class Menu {
...
@@ -273,7 +273,7 @@ public class Menu {
animations
:
{
[
weak
self
]
in
animations
:
{
[
weak
self
]
in
if
let
s
:
Menu
=
self
{
if
let
s
:
Menu
=
self
{
view
.
alpha
=
1
view
.
alpha
=
1
view
.
frame
.
origin
.
y
=
base
!.
frame
.
origin
.
y
+
h
+
CGFloat
(
i
-
1
)
*
s
.
itemSize
.
height
+
CGFloat
(
i
)
*
s
.
interimSpace
view
.
y
=
base
!
.
y
+
h
+
CGFloat
(
i
-
1
)
*
s
.
itemSize
.
height
+
CGFloat
(
i
)
*
s
.
interimSpace
animations
?(
view
)
animations
?(
view
)
}
}
})
{
[
weak
self
]
_
in
})
{
[
weak
self
]
_
in
...
@@ -313,7 +313,7 @@ public class Menu {
...
@@ -313,7 +313,7 @@ public class Menu {
animations
:
{
[
weak
self
]
in
animations
:
{
[
weak
self
]
in
if
let
s
:
Menu
=
self
{
if
let
s
:
Menu
=
self
{
view
.
alpha
=
0
view
.
alpha
=
0
view
.
frame
.
origin
.
y
=
s
.
origin
.
y
+
h
view
.
y
=
s
.
origin
.
y
+
h
animations
?(
view
)
animations
?(
view
)
}
}
})
{
[
weak
self
]
_
in
})
{
[
weak
self
]
_
in
...
@@ -359,7 +359,7 @@ public class Menu {
...
@@ -359,7 +359,7 @@ public class Menu {
animations
:
{
[
weak
self
]
in
animations
:
{
[
weak
self
]
in
if
let
s
:
Menu
=
self
{
if
let
s
:
Menu
=
self
{
view
.
alpha
=
1
view
.
alpha
=
1
view
.
frame
.
origin
.
x
=
base
!.
frame
.
origin
.
x
-
CGFloat
(
i
)
*
s
.
itemSize
.
width
-
CGFloat
(
i
)
*
s
.
interimSpace
view
.
x
=
base
!
.
x
-
CGFloat
(
i
)
*
s
.
itemSize
.
width
-
CGFloat
(
i
)
*
s
.
interimSpace
animations
?(
view
)
animations
?(
view
)
}
}
})
{
[
weak
self
]
_
in
})
{
[
weak
self
]
_
in
...
@@ -397,7 +397,7 @@ public class Menu {
...
@@ -397,7 +397,7 @@ public class Menu {
animations
:
{
[
weak
self
]
in
animations
:
{
[
weak
self
]
in
if
let
s
:
Menu
=
self
{
if
let
s
:
Menu
=
self
{
view
.
alpha
=
0
view
.
alpha
=
0
view
.
frame
.
origin
.
x
=
s
.
origin
.
x
view
.
x
=
s
.
origin
.
x
animations
?(
view
)
animations
?(
view
)
}
}
})
{
[
weak
self
]
_
in
})
{
[
weak
self
]
_
in
...
@@ -443,7 +443,7 @@ public class Menu {
...
@@ -443,7 +443,7 @@ public class Menu {
animations
:
{
[
weak
self
]
in
animations
:
{
[
weak
self
]
in
if
let
s
:
Menu
=
self
{
if
let
s
:
Menu
=
self
{
view
.
alpha
=
1
view
.
alpha
=
1
view
.
frame
.
origin
.
x
=
base
!.
frame
.
origin
.
x
+
h
+
CGFloat
(
i
-
1
)
*
s
.
itemSize
.
width
+
CGFloat
(
i
)
*
s
.
interimSpace
view
.
x
=
base
!
.
x
+
h
+
CGFloat
(
i
-
1
)
*
s
.
itemSize
.
width
+
CGFloat
(
i
)
*
s
.
interimSpace
animations
?(
view
)
animations
?(
view
)
}
}
})
{
[
weak
self
]
_
in
})
{
[
weak
self
]
_
in
...
@@ -483,7 +483,7 @@ public class Menu {
...
@@ -483,7 +483,7 @@ public class Menu {
animations
:
{
[
weak
self
]
in
animations
:
{
[
weak
self
]
in
if
let
s
:
Menu
=
self
{
if
let
s
:
Menu
=
self
{
view
.
alpha
=
0
view
.
alpha
=
0
view
.
frame
.
origin
.
x
=
s
.
origin
.
x
+
w
view
.
x
=
s
.
origin
.
x
+
w
animations
?(
view
)
animations
?(
view
)
}
}
})
{
[
weak
self
]
_
in
})
{
[
weak
self
]
_
in
...
@@ -514,8 +514,8 @@ public class Menu {
...
@@ -514,8 +514,8 @@ public class Menu {
view
.
alpha
=
0
view
.
alpha
=
0
view
.
isHidden
=
true
view
.
isHidden
=
true
view
.
frame
.
size
=
itemSize
view
.
frame
.
size
=
itemSize
view
.
frame
.
origin
.
x
=
origin
.
x
+
(
size
.
width
-
itemSize
.
width
)
/
2
view
.
x
=
origin
.
x
+
(
size
.
width
-
itemSize
.
width
)
/
2
view
.
frame
.
origin
.
y
=
origin
.
y
+
(
size
.
height
-
itemSize
.
height
)
/
2
view
.
y
=
origin
.
y
+
(
size
.
height
-
itemSize
.
height
)
/
2
view
.
layer
.
zPosition
=
CGFloat
(
10000
-
v
.
count
-
i
)
view
.
layer
.
zPosition
=
CGFloat
(
10000
-
v
.
count
-
i
)
}
}
}
}
...
...
Sources/iOS/NavigationDrawerController.swift
View file @
452bc8f0
...
@@ -411,8 +411,8 @@ public class NavigationDrawerController: RootController, UIGestureRecognizerDele
...
@@ -411,8 +411,8 @@ public class NavigationDrawerController: RootController, UIGestureRecognizerDele
v
.
height
=
view
.
bounds
.
height
v
.
height
=
view
.
bounds
.
height
leftViewThreshold
=
leftViewWidth
/
2
leftViewThreshold
=
leftViewWidth
/
2
if
let
vc
:
UIViewController
=
leftViewController
{
if
let
vc
:
UIViewController
=
leftViewController
{
vc
.
view
.
frame
.
size
.
width
=
v
.
width
vc
.
view
.
width
=
v
.
width
vc
.
view
.
frame
.
size
.
height
=
v
.
height
vc
.
view
.
height
=
v
.
height
vc
.
view
.
center
=
CGPoint
(
x
:
v
.
width
/
2
,
y
:
v
.
height
/
2
)
vc
.
view
.
center
=
CGPoint
(
x
:
v
.
width
/
2
,
y
:
v
.
height
/
2
)
}
}
}
}
...
@@ -422,8 +422,8 @@ public class NavigationDrawerController: RootController, UIGestureRecognizerDele
...
@@ -422,8 +422,8 @@ public class NavigationDrawerController: RootController, UIGestureRecognizerDele
v
.
height
=
view
.
bounds
.
height
v
.
height
=
view
.
bounds
.
height
rightViewThreshold
=
view
.
bounds
.
width
-
rightViewWidth
/
2
rightViewThreshold
=
view
.
bounds
.
width
-
rightViewWidth
/
2
if
let
vc
:
UIViewController
=
rightViewController
{
if
let
vc
:
UIViewController
=
rightViewController
{
vc
.
view
.
frame
.
size
.
width
=
v
.
width
vc
.
view
.
width
=
v
.
width
vc
.
view
.
frame
.
size
.
height
=
v
.
height
vc
.
view
.
height
=
v
.
height
vc
.
view
.
center
=
CGPoint
(
x
:
v
.
width
/
2
,
y
:
v
.
height
/
2
)
vc
.
view
.
center
=
CGPoint
(
x
:
v
.
width
/
2
,
y
:
v
.
height
/
2
)
}
}
}
}
...
@@ -903,7 +903,7 @@ public class NavigationDrawerController: RootController, UIGestureRecognizerDele
...
@@ -903,7 +903,7 @@ public class NavigationDrawerController: RootController, UIGestureRecognizerDele
leftViewWidth
=
.
phone
==
Device
.
userInterfaceIdiom
?
280
:
320
leftViewWidth
=
.
phone
==
Device
.
userInterfaceIdiom
?
280
:
320
leftView
=
View
()
leftView
=
View
()
leftView
!.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
leftViewWidth
,
height
:
view
.
frame
.
height
)
leftView
!.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
leftViewWidth
,
height
:
view
.
height
)
leftView
!.
backgroundColor
=
Color
.
clear
leftView
!.
backgroundColor
=
Color
.
clear
view
.
addSubview
(
leftView
!
)
view
.
addSubview
(
leftView
!
)
...
@@ -923,7 +923,7 @@ public class NavigationDrawerController: RootController, UIGestureRecognizerDele
...
@@ -923,7 +923,7 @@ public class NavigationDrawerController: RootController, UIGestureRecognizerDele
rightViewWidth
=
.
phone
==
Device
.
userInterfaceIdiom
?
280
:
320
rightViewWidth
=
.
phone
==
Device
.
userInterfaceIdiom
?
280
:
320
rightView
=
View
()
rightView
=
View
()
rightView
!.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
rightViewWidth
,
height
:
view
.
frame
.
height
)
rightView
!.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
rightViewWidth
,
height
:
view
.
height
)
rightView
!.
backgroundColor
=
Color
.
clear
rightView
!.
backgroundColor
=
Color
.
clear
view
.
addSubview
(
rightView
!
)
view
.
addSubview
(
rightView
!
)
...
...
Sources/iOS/PageController.swift
View file @
452bc8f0
...
@@ -55,9 +55,6 @@ public protocol PageControllerDelegate {
...
@@ -55,9 +55,6 @@ public protocol PageControllerDelegate {
@objc(PageController)
@objc(PageController)
open
class
PageController
:
RootController
{
open
class
PageController
:
RootController
{
/// A boolean that indicates when a button animation is active.
internal
var
animating
=
false
/// The currently selected UIViewController.
/// The currently selected UIViewController.
open
internal(set)
var
selectedIndex
:
Int
=
0
open
internal(set)
var
selectedIndex
:
Int
=
0
...
@@ -112,8 +109,8 @@ open class PageController: RootController {
...
@@ -112,8 +109,8 @@ open class PageController: RootController {
v
.
width
=
w
+
v
.
grid
.
layoutEdgeInsets
.
left
+
v
.
grid
.
layoutEdgeInsets
.
right
v
.
width
=
w
+
v
.
grid
.
layoutEdgeInsets
.
left
+
v
.
grid
.
layoutEdgeInsets
.
right
v
.
height
=
p
v
.
height
=
p
rootViewController
.
view
.
frame
.
origin
.
y
=
0
rootViewController
.
view
.
y
=
0
rootViewController
.
view
.
frame
.
size
.
height
=
y
rootViewController
.
view
.
height
=
y
v
.
divider
.
reload
()
v
.
divider
.
reload
()
}
}
...
@@ -160,15 +157,14 @@ open class PageController: RootController {
...
@@ -160,15 +157,14 @@ open class PageController: RootController {
}
}
extension
PageController
{
extension
PageController
{
open
func
setViewControllers
(
_
viewControllers
:
[
UIViewController
]?,
direction
:
UIPageViewControllerNavigationDirection
,
animated
:
Bool
,
completion
:
(
@escaping
(
Bool
)
->
Swift
.
Void
)?
=
nil
)
{
open
func
setViewControllers
(
_
viewControllers
:
[
UIViewController
]?,
direction
:
UIPageViewControllerNavigationDirection
,
animated
:
Bool
,
completion
:
(
@escaping
(
Bool
)
->
Void
)?
=
nil
)
{
pageViewController
?
.
setViewControllers
(
viewControllers
,
direction
:
direction
,
animated
:
animated
,
completion
:
completion
)
pageViewController
?
.
setViewControllers
(
viewControllers
,
direction
:
direction
,
animated
:
animated
,
completion
:
completion
)
}
}
}
}
extension
PageController
:
UIPageViewControllerDelegate
{
extension
PageController
:
UIPageViewControllerDelegate
{
public
func
pageViewController
(
_
pageViewController
:
UIPageViewController
,
didFinishAnimating
finished
:
Bool
,
previousViewControllers
:
[
UIViewController
],
transitionCompleted
completed
:
Bool
)
{
public
func
pageViewController
(
_
pageViewController
:
UIPageViewController
,
willTransitionTo
pendingViewControllers
:
[
UIViewController
]
)
{
guard
let
vc
=
p
revious
ViewControllers
.
first
else
{
guard
let
vc
=
p
ending
ViewControllers
.
first
else
{
return
return
}
}
...
@@ -176,15 +172,25 @@ extension PageController: UIPageViewControllerDelegate {
...
@@ -176,15 +172,25 @@ extension PageController: UIPageViewControllerDelegate {
return
return
}
}
selectedIndex
=
index
}
public
func
pageViewController
(
_
pageViewController
:
UIPageViewController
,
didFinishAnimating
finished
:
Bool
,
previousViewControllers
:
[
UIViewController
],
transitionCompleted
completed
:
Bool
)
{
guard
completed
else
{
guard
completed
else
{
tabBar
.
select
(
at
:
index
)
{
[
weak
self
]
_
in
guard
let
s
=
self
else
{
return
}
s
.
animating
=
false
}
return
return
}
}
guard
let
vc
=
previousViewControllers
.
first
else
{
return
}
guard
let
index
=
viewControllers
.
index
(
of
:
vc
)
else
{
return
}
tabBar
.
select
(
at
:
selectedIndex
)
}
}
}
}
...
@@ -221,25 +227,16 @@ extension PageController: UIPageViewControllerDataSource {
...
@@ -221,25 +227,16 @@ extension PageController: UIPageViewControllerDataSource {
extension
PageController
:
UIScrollViewDelegate
{
extension
PageController
:
UIScrollViewDelegate
{
public
func
scrollViewDidScroll
(
_
scrollView
:
UIScrollView
)
{
public
func
scrollViewDidScroll
(
_
scrollView
:
UIScrollView
)
{
guard
!
animating
else
{
guard
0
<
view
.
width
else
{
return
return
}
}
let
x
=
scrollView
.
contentOffset
.
x
/
scrollView
.
contentSize
.
width
*
scrollView
.
width
guard
let
selected
=
tabBar
.
selected
else
{
guard
0
<
x
else
{
return
return
}
}
tabBar
.
line
.
x
=
x
let
x
=
(
scrollView
.
contentOffset
.
x
-
view
.
width
)
/
scrollView
.
contentSize
.
width
*
view
.
width
print
(
"scrolling"
,
x
)
}
tabBar
.
line
.
x
=
selected
.
x
+
x
public
func
scrollViewDidEndDecelerating
(
_
scrollView
:
UIScrollView
)
{
// animating = true
}
public
func
scrollViewWillBeginDecelerating
(
_
scrollView
:
UIScrollView
)
{
animating
=
true
}
}
}
}
Sources/iOS/SearchBarController.swift
View file @
452bc8f0
...
@@ -72,8 +72,8 @@ open class SearchBarController: RootController {
...
@@ -72,8 +72,8 @@ open class SearchBarController: RootController {
v
.
width
=
w
+
v
.
grid
.
layoutEdgeInsets
.
left
+
v
.
grid
.
layoutEdgeInsets
.
right
v
.
width
=
w
+
v
.
grid
.
layoutEdgeInsets
.
left
+
v
.
grid
.
layoutEdgeInsets
.
right
v
.
height
=
p
v
.
height
=
p
rootViewController
.
view
.
frame
.
origin
.
y
=
p
rootViewController
.
view
.
y
=
p
rootViewController
.
view
.
frame
.
size
.
height
=
h
-
p
rootViewController
.
view
.
height
=
h
-
p
v
.
divider
.
reload
()
v
.
divider
.
reload
()
}
}
...
...
Sources/iOS/ToolbarController.swift
View file @
452bc8f0
...
@@ -175,8 +175,8 @@ open class ToolbarController: RootController {
...
@@ -175,8 +175,8 @@ open class ToolbarController: RootController {
v
.
width
=
w
+
v
.
grid
.
layoutEdgeInsets
.
left
+
v
.
grid
.
layoutEdgeInsets
.
right
v
.
width
=
w
+
v
.
grid
.
layoutEdgeInsets
.
left
+
v
.
grid
.
layoutEdgeInsets
.
right
v
.
height
=
p
v
.
height
=
p
rootViewController
.
view
.
frame
.
origin
.
y
=
p
rootViewController
.
view
.
y
=
p
rootViewController
.
view
.
frame
.
size
.
height
=
h
-
p
rootViewController
.
view
.
height
=
h
-
p
v
.
divider
.
reload
()
v
.
divider
.
reload
()
}
}
...
...
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