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
35de162b
Commit
35de162b
authored
May 22, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating NavigationItem
parent
e577cfa3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Examples/Programmatic/App/App/AppDelegate.swift
+0
-1
Sources/iOS/NavigationItem.swift
+2
-2
No files found.
Examples/Programmatic/App/App/AppDelegate.swift
View file @
35de162b
...
@@ -37,7 +37,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
...
@@ -37,7 +37,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var
window
:
UIWindow
?
var
window
:
UIWindow
?
func
application
(
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
NSObject
:
AnyObject
]?)
->
Bool
{
func
application
(
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
NSObject
:
AnyObject
]?)
->
Bool
{
let
navigationController
:
AppNavigationController
=
AppNavigationController
(
rootViewController
:
RecipesViewController
())
let
navigationController
:
AppNavigationController
=
AppNavigationController
(
rootViewController
:
RecipesViewController
())
let
menuViewController
:
AppMenuViewController
=
AppMenuViewController
(
rootViewController
:
navigationController
)
let
menuViewController
:
AppMenuViewController
=
AppMenuViewController
(
rootViewController
:
navigationController
)
...
...
Sources/iOS/NavigationItem.swift
View file @
35de162b
...
@@ -65,14 +65,14 @@ public class MaterialAssociatedObjectNavigationItem {
...
@@ -65,14 +65,14 @@ public class MaterialAssociatedObjectNavigationItem {
private
func
prepareTitleLabel
()
{
private
func
prepareTitleLabel
()
{
titleLabel
=
UILabel
()
titleLabel
=
UILabel
()
titleLabel
.
font
=
RobotoFont
.
mediumWithSize
(
17
)
titleLabel
.
font
=
RobotoFont
.
mediumWithSize
(
17
)
titleLabel
.
textAlignment
=
.
Left
titleLabel
.
textAlignment
=
.
Center
}
}
/// Prepares the detailLabel.
/// Prepares the detailLabel.
private
func
prepareDetailLabel
()
{
private
func
prepareDetailLabel
()
{
detailLabel
=
UILabel
()
detailLabel
=
UILabel
()
detailLabel
.
font
=
RobotoFont
.
regularWithSize
(
12
)
detailLabel
.
font
=
RobotoFont
.
regularWithSize
(
12
)
detailLabel
.
textAlignment
=
.
Left
detailLabel
.
textAlignment
=
.
Center
}
}
}
}
...
...
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