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
ff3a3716
Unverified
Commit
ff3a3716
authored
May 14, 2017
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: renamed Reminders to Event
parent
4b41d8fb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
24 deletions
+25
-24
Material.xcodeproj/project.pbxproj
+11
-10
Sources/iOS/Events/Event.swift
+0
-0
Sources/iOS/Events/EventController.swift
+14
-14
No files found.
Material.xcodeproj/project.pbxproj
View file @
ff3a3716
...
...
@@ -40,8 +40,8 @@
96328B9E1E05C24E009A4C90
/* TableView.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96328B961E05C0BB009A4C90
/* TableView.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96328B9F1E05C24E009A4C90
/* TableViewController.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96328B981E05C0CE009A4C90
/* TableViewController.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96334EF61C8B84660083986B
/* Assets.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96334EF51C8B84660083986B
/* Assets.xcassets */
;
};
9639526C1EC3882F004BA9DE
/*
Reminders.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9639526A1EC3882F004BA9DE
/* Reminders
.swift */
;
};
9639526D1EC3882F004BA9DE
/*
RemindersController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9639526B1EC3882F004BA9DE
/* Reminders
Controller.swift */
;
};
9639526C1EC3882F004BA9DE
/*
Event.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9639526A1EC3882F004BA9DE
/* Event
.swift */
;
};
9639526D1EC3882F004BA9DE
/*
EventController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9639526B1EC3882F004BA9DE
/* Event
Controller.swift */
;
};
965E80CC1DD4C50600D61E4B
/* Bar.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96BCB7981CB40DC500C806FE
/* Bar.swift */
;
};
965E80CD1DD4C50600D61E4B
/* Button.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96BCB7701CB40DC500C806FE
/* Button.swift */
;
};
965E80CE1DD4C50600D61E4B
/* FABButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96BCB75F1CB40DC500C806FE
/* FABButton.swift */
;
};
...
...
@@ -206,8 +206,8 @@
96328B981E05C0CE009A4C90
/* TableViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
TableViewController.swift
;
sourceTree
=
"<group>"
;
};
96334EF51C8B84660083986B
/* Assets.xcassets */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
folder.assetcatalog
;
path
=
Assets.xcassets
;
sourceTree
=
"<group>"
;
};
963832361B88DFD80015F710
/* Material.framework */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.framework
;
includeInIndex
=
0
;
path
=
Material.framework
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
9639526A1EC3882F004BA9DE
/*
Reminders.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Reminders
.swift
;
sourceTree
=
"<group>"
;
};
9639526B1EC3882F004BA9DE
/*
RemindersController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Reminders
Controller.swift
;
sourceTree
=
"<group>"
;
};
9639526A1EC3882F004BA9DE
/*
Event.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Event
.swift
;
sourceTree
=
"<group>"
;
};
9639526B1EC3882F004BA9DE
/*
EventController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Event
Controller.swift
;
sourceTree
=
"<group>"
;
};
963FBEFC1D669510008F8512
/* Snackbar.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Snackbar.swift
;
sourceTree
=
"<group>"
;
};
965532281E47E388005C2792
/* SpringAnimation.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
SpringAnimation.swift
;
sourceTree
=
"<group>"
;
};
9658F2161CD6FA4700B902C1
/* IconButton.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
IconButton.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -394,12 +394,13 @@
name
=
Products
;
sourceTree
=
"<group>"
;
};
963952691EC3882F004BA9DE
/* Event
s
*/
=
{
963952691EC3882F004BA9DE
/* Event */
=
{
isa
=
PBXGroup
;
children
=
(
9639526A1EC3882F004BA9DE
/*
Reminders
.swift */
,
9639526B1EC3882F004BA9DE
/*
Reminders
Controller.swift */
,
9639526A1EC3882F004BA9DE
/*
Event
.swift */
,
9639526B1EC3882F004BA9DE
/*
Event
Controller.swift */
,
);
name
=
Event
;
path
=
Events
;
sourceTree
=
"<group>"
;
};
...
...
@@ -508,7 +509,7 @@
96328B9A1E05C135009A4C90
/* Data */
,
96BCB80B1CB410CC00C806FE
/* Device */
,
96230AB61D6A51FD00AF47DC
/* Divider */
,
963952691EC3882F004BA9DE
/* Event
s
*/
,
963952691EC3882F004BA9DE
/* Event */
,
96BCB80A1CB410A100C806FE
/* Extension */
,
963FBF021D6696D0008F8512
/* FABMenu */
,
96BCB8071CB4101C00C806FE
/* Font */
,
...
...
@@ -935,11 +936,11 @@
965E81191DD4D5C800D61E4B
/* SnackbarController.swift in Sources */
,
965E811A1DD4D5C800D61E4B
/* StatusBarController.swift in Sources */
,
965E811B1DD4D5C800D61E4B
/* Switch.swift in Sources */
,
9639526C1EC3882F004BA9DE
/*
Reminders
.swift in Sources */
,
9639526C1EC3882F004BA9DE
/*
Event
.swift in Sources */
,
965E811C1DD4D5C800D61E4B
/* TabBar.swift in Sources */
,
965E811D1DD4D5C800D61E4B
/* TableViewCell.swift in Sources */
,
965E811E1DD4D5C800D61E4B
/* TextField.swift in Sources */
,
9639526D1EC3882F004BA9DE
/*
Reminders
Controller.swift in Sources */
,
9639526D1EC3882F004BA9DE
/*
Event
Controller.swift in Sources */
,
965E811F1DD4D5C800D61E4B
/* ErrorTextField.swift in Sources */
,
965E81211DD4D5C800D61E4B
/* TextStorage.swift in Sources */
,
965E81221DD4D5C800D61E4B
/* TextView.swift in Sources */
,
...
...
Sources/iOS/Events/
Reminders
.swift
→
Sources/iOS/Events/
Event
.swift
View file @
ff3a3716
This diff is collapsed.
Click to expand it.
Sources/iOS/Events/
Reminders
Controller.swift
→
Sources/iOS/Events/
Event
Controller.swift
View file @
ff3a3716
...
...
@@ -32,15 +32,15 @@ import UIKit
extension
UIViewController
{
/**
A convenience property that provides access to the
Reminders
Controller.
This is the recommended method of accessing the
Reminders
Controller
A convenience property that provides access to the
Event
Controller.
This is the recommended method of accessing the
Event
Controller
through child UIViewControllers.
*/
public
var
remindersController
:
Reminders
Controller
?
{
public
var
eventController
:
Event
Controller
?
{
var
viewController
:
UIViewController
?
=
self
while
nil
!=
viewController
{
if
viewController
is
Reminders
Controller
{
return
viewController
as?
Reminders
Controller
if
viewController
is
Event
Controller
{
return
viewController
as?
Event
Controller
}
viewController
=
viewController
?
.
parent
}
...
...
@@ -48,9 +48,9 @@ extension UIViewController {
}
}
open
class
Reminders
Controller
:
UIViewController
{
/// A reference to a
Reminder
.
open
let
reminders
=
Reminders
()
open
class
Event
Controller
:
UIViewController
{
/// A reference to a
n Event instance
.
open
let
event
=
Event
()
open
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
@@ -68,15 +68,15 @@ open class RemindersController: UIViewController {
view
.
clipsToBounds
=
true
view
.
backgroundColor
=
.
white
view
.
contentScaleFactor
=
Screen
.
scale
prepare
Reminders
()
prepare
Event
()
}
}
extension
Reminders
Controller
{
/// Prepares the
reminders
.
fileprivate
func
prepare
Reminders
()
{
reminders
.
delegate
=
self
extension
Event
Controller
{
/// Prepares the
event instance
.
fileprivate
func
prepare
Event
()
{
event
.
delegate
=
self
}
}
extension
RemindersController
:
Reminders
Delegate
{}
extension
EventController
:
Event
Delegate
{}
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