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
dc116e17
Unverified
Commit
dc116e17
authored
Mar 10, 2017
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: removed Editor as now TextView is self contained
parent
09b0f7a4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
17 deletions
+3
-17
Material.xcodeproj/project.pbxproj
+0
-14
Sources/iOS/CharacterAttribute.swift
+3
-3
Sources/iOS/Editor.swift
+0
-0
No files found.
Material.xcodeproj/project.pbxproj
View file @
dc116e17
...
...
@@ -18,7 +18,6 @@
9617B0811DFCA8CF00410F8F
/* Capture.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96717B0D1DBE6AF600DA84DB
/* Capture.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9617B0821DFCA8CF00410F8F
/* CapturePreview.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96717B0F1DBE6AF600DA84DB
/* CapturePreview.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9617B0831DFCA8CF00410F8F
/* CaptureController.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96717B0E1DBE6AF600DA84DB
/* CaptureController.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9617B0841DFCA8CF00410F8F
/* Editor.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
961DED451DCC40C500F425B6
/* Editor.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9617B0861DFCA8CF00410F8F
/* HeightPreset.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9626CB9A1DAD3D1D003E2611
/* HeightPreset.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9617B0871DFCA8CF00410F8F
/* PageTabBarController.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
963FBF071D669D14008F8512
/* PageTabBarController.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9617B0881DFCA8CF00410F8F
/* PhotoLibrary.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96717B161DBE6B1800DA84DB
/* PhotoLibrary.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
...
...
@@ -116,7 +115,6 @@
965E81211DD4D5C800D61E4B
/* TextStorage.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96BCB79D1CB40DC500C806FE
/* TextStorage.swift */
;
};
965E81221DD4D5C800D61E4B
/* TextView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96BCB79E1CB40DC500C806FE
/* TextView.swift */
;
};
965E81231DD4D7C800D61E4B
/* BottomTabBar.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96BCB7591CB40DC500C806FE
/* BottomTabBar.swift */
;
};
965E81241DD4D7C800D61E4B
/* Editor.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
961DED451DCC40C500F425B6
/* Editor.swift */
;
};
965E81261DD4D7C800D61E4B
/* CharacterAttribute.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
961276621DCD8B1800A7D920
/* CharacterAttribute.swift */
;
};
9697F7BF1D8F2572004741EC
/* Divider.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96230AB71D6A520C00AF47DC
/* Divider.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9697F7C01D8F2572004741EC
/* Material+CALayer.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96F1DC871D654FDF0025F925
/* Material+CALayer.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
...
...
@@ -193,7 +191,6 @@
/* Begin PBXFileReference section */
961276621DCD8B1800A7D920
/* CharacterAttribute.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CharacterAttribute.swift
;
sourceTree
=
"<group>"
;
};
961730591E145DE900A9A297
/* CollectionViewCard.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CollectionViewCard.swift
;
sourceTree
=
"<group>"
;
};
961DED451DCC40C500F425B6
/* Editor.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Editor.swift
;
sourceTree
=
"<group>"
;
};
961E6BDE1DDA2A95004E6C93
/* Application.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Application.swift
;
sourceTree
=
"<group>"
;
};
961E6BE11DDA2AF3004E6C93
/* Screen.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Screen.swift
;
sourceTree
=
"<group>"
;
};
961EFC571D738FF600E84652
/* SnackbarController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
SnackbarController.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -308,14 +305,6 @@
name
=
TextField
;
sourceTree
=
"<group>"
;
};
961DED441DCC40AC00F425B6
/* Editor */
=
{
isa
=
PBXGroup
;
children
=
(
961DED451DCC40C500F425B6
/* Editor.swift */
,
);
name
=
Editor
;
sourceTree
=
"<group>"
;
};
961E6BDD1DDA2A7E004E6C93
/* Application */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -526,7 +515,6 @@
96328B9A1E05C135009A4C90
/* Data */
,
96BCB80B1CB410CC00C806FE
/* Device */
,
96230AB61D6A51FD00AF47DC
/* Divider */
,
961DED441DCC40AC00F425B6
/* Editor */
,
96BCB80A1CB410A100C806FE
/* Extension */
,
96BCB8071CB4101C00C806FE
/* Font */
,
9602F00C1DA1163000F3FB79
/* Grid */
,
...
...
@@ -817,7 +805,6 @@
9617B0811DFCA8CF00410F8F
/* Capture.swift in Headers */
,
9617B0821DFCA8CF00410F8F
/* CapturePreview.swift in Headers */
,
9617B0831DFCA8CF00410F8F
/* CaptureController.swift in Headers */
,
9617B0841DFCA8CF00410F8F
/* Editor.swift in Headers */
,
9617B0861DFCA8CF00410F8F
/* HeightPreset.swift in Headers */
,
9617B0871DFCA8CF00410F8F
/* PageTabBarController.swift in Headers */
,
9617B0881DFCA8CF00410F8F
/* PhotoLibrary.swift in Headers */
,
...
...
@@ -923,7 +910,6 @@
buildActionMask
=
2147483647
;
files
=
(
965E81231DD4D7C800D61E4B
/* BottomTabBar.swift in Sources */
,
965E81241DD4D7C800D61E4B
/* Editor.swift in Sources */
,
961E6BE21DDA2AF3004E6C93
/* Screen.swift in Sources */
,
965E81261DD4D7C800D61E4B
/* CharacterAttribute.swift in Sources */
,
965E80FF1DD4D5C800D61E4B
/* BottomNavigationController.swift in Sources */
,
...
...
Sources/iOS/CharacterAttribute.swift
View file @
dc116e17
...
...
@@ -117,7 +117,7 @@ extension NSMutableAttributedString {
- Parameter characterAttributes: A Dictionary of CharacterAttribute type keys and Any type values.
- Parameter range: A NSRange.
*/
open
func
addAttributes
(
characterAttributes
:
[
CharacterAttribute
:
Any
]
=
[:
],
range
:
NSRange
)
{
open
func
addAttributes
(
characterAttributes
:
[
CharacterAttribute
:
Any
],
range
:
NSRange
)
{
for
(
k
,
v
)
in
characterAttributes
{
addAttribute
(
characterAttribute
:
k
,
value
:
v
,
range
:
range
)
}
...
...
@@ -139,7 +139,7 @@ extension NSMutableAttributedString {
- Parameter characterAttributes: A Dictionary of CharacterAttribute type keys and Any type values.
- Parameter range: A NSRange.
*/
open
func
updateAttributes
(
characterAttributes
:
[
CharacterAttribute
:
Any
]
=
[:
],
range
:
NSRange
)
{
open
func
updateAttributes
(
characterAttributes
:
[
CharacterAttribute
:
Any
],
range
:
NSRange
)
{
for
(
k
,
v
)
in
characterAttributes
{
updateAttribute
(
characterAttribute
:
k
,
value
:
v
,
range
:
range
)
}
...
...
@@ -159,7 +159,7 @@ extension NSMutableAttributedString {
- Parameter characterAttributes: An Array of CharacterAttributes.
- Parameter range: A NSRange.
*/
open
func
removeAttributes
(
characterAttributes
:
[
CharacterAttribute
]
=
[]
,
range
:
NSRange
)
{
open
func
removeAttributes
(
characterAttributes
:
[
CharacterAttribute
],
range
:
NSRange
)
{
for
k
in
characterAttributes
{
removeAttribute
(
characterAttribute
:
k
,
range
:
range
)
}
...
...
Sources/iOS/Editor.swift
deleted
100644 → 0
View file @
09b0f7a4
This diff is collapsed.
Click to expand it.
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