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
1314e6ff
Commit
1314e6ff
authored
Mar 16, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prepare for release
parent
dadbbd33
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
43 additions
and
58 deletions
+43
-58
Examples/Programmatic/App/App.xcodeproj/project.pbxproj
+0
-6
Examples/Programmatic/App/App/Info.plist
+0
-2
Examples/Storyboards/CardView/CardView/Base.lproj/Main.storyboard
+1
-1
Examples/Storyboards/MaterialPulseView/MaterialPulseView/Assets.xcassets/ContentAppIcon.imageset/ContentAppIcon.png
+0
-0
Examples/Storyboards/MaterialPulseView/MaterialPulseView/Assets.xcassets/CosmicMindInverted.imageset/Contents.json
+1
-1
Examples/Storyboards/MaterialPulseView/MaterialPulseView/Assets.xcassets/CosmicMindInverted.imageset/CosmicMindInverted.png
+0
-0
Examples/Storyboards/MaterialPulseView/MaterialPulseView/Base.lproj/Main.storyboard
+4
-3
Examples/Storyboards/TextField/TextField/Base.lproj/Main.storyboard
+1
-1
Material.xcodeproj/project.pbxproj
+12
-20
Sources/CapturePreview.swift
+1
-1
Sources/CaptureView.swift
+1
-1
Sources/ImageCardView.swift
+2
-2
Sources/MaterialButton.swift
+2
-2
Sources/MaterialCollectionViewCell.swift
+5
-5
Sources/MaterialTableViewCell.swift
+3
-3
Sources/MaterialView.swift
+4
-4
Sources/SideNavigationController.swift
+1
-1
Sources/TextField.swift
+2
-2
Sources/TextView.swift
+3
-3
No files found.
Examples/Programmatic/App/App.xcodeproj/project.pbxproj
View file @
1314e6ff
...
...
@@ -17,8 +17,6 @@
9663F94E1C7A74EA00AF0965
/* AppLeftViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9663F94D1C7A74EA00AF0965
/* AppLeftViewController.swift */
;
};
9663F9501C7A74FC00AF0965
/* AppRightViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9663F94F1C7A74FC00AF0965
/* AppRightViewController.swift */
;
};
9663F9521C7A751D00AF0965
/* ItemViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9663F9511C7A751D00AF0965
/* ItemViewController.swift */
;
};
96AC822A1C97DE25007654F0
/* Material.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96AC82291C97DE25007654F0
/* Material.framework */
;
};
96AC822B1C97DE25007654F0
/* Material.framework in Embed Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96AC82291C97DE25007654F0
/* Material.framework */
;
settings
=
{
ATTRIBUTES
=
(
CodeSignOnCopy
,
RemoveHeadersOnCopy
,
);
};
};
96CC08881C7FEBD60034FF84
/* RecipesViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96CC08871C7FEBD60034FF84
/* RecipesViewController.swift */
;
};
/* End PBXBuildFile section */
...
...
@@ -29,7 +27,6 @@
dstPath
=
""
;
dstSubfolderSpec
=
10
;
files
=
(
96AC822B1C97DE25007654F0
/* Material.framework in Embed Frameworks */
,
);
name
=
"Embed Frameworks"
;
runOnlyForDeploymentPostprocessing
=
0
;
...
...
@@ -49,7 +46,6 @@
9663F94D1C7A74EA00AF0965
/* AppLeftViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AppLeftViewController.swift
;
sourceTree
=
"<group>"
;
};
9663F94F1C7A74FC00AF0965
/* AppRightViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AppRightViewController.swift
;
sourceTree
=
"<group>"
;
};
9663F9511C7A751D00AF0965
/* ItemViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ItemViewController.swift
;
sourceTree
=
"<group>"
;
};
96AC82291C97DE25007654F0
/* Material.framework */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.framework
;
name
=
Material.framework
;
path
=
"/Users/danieldahan/Library/Developer/Xcode/DerivedData/Material-hbpnflxhoouqxebjcyhbbhqyesjd/Build/Products/Debug-iphoneos/Material.framework"
;
sourceTree
=
"<absolute>"
;
};
96CC08871C7FEBD60034FF84
/* RecipesViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
RecipesViewController.swift
;
sourceTree
=
"<group>"
;
};
/* End PBXFileReference section */
...
...
@@ -58,7 +54,6 @@
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
96AC822A1C97DE25007654F0
/* Material.framework in Frameworks */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
};
...
...
@@ -68,7 +63,6 @@
9663F9251C7A744500AF0965
=
{
isa
=
PBXGroup
;
children
=
(
96AC82291C97DE25007654F0
/* Material.framework */
,
9663F9301C7A744600AF0965
/* App */
,
9663F92F1C7A744600AF0965
/* Products */
,
);
...
...
Examples/Programmatic/App/App/Info.plist
View file @
1314e6ff
...
...
@@ -34,8 +34,6 @@
<
a
rr
a
y
>
<
string
>
UIInterfaceOrientationPortrait
<
/string
>
<
string
>
UIInterfaceOrientationPortraitUpsideDown
<
/string
>
<
string
>
UIInterfaceOrientationLandscapeLeft
<
/string
>
<
string
>
UIInterfaceOrientationLandscapeRight
<
/string
>
<
/
a
rr
a
y
>
<
k
e
y
>
UISupportedInterfaceOrientations
~
ipad
<
/k
e
y
>
<
a
rr
a
y
>
...
...
Examples/Storyboards/CardView/CardView/Base.lproj/Main.storyboard
View file @
1314e6ff
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"9532"
systemVersion=
"15
C50
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"9532"
systemVersion=
"15
D21
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"9530"
/>
...
...
Examples/Storyboards/MaterialPulseView/MaterialPulseView/Assets.xcassets/ContentAppIcon.imageset/ContentAppIcon.png
deleted
100644 → 0
View file @
dadbbd33
16.1 KB
Examples/Storyboards/MaterialPulseView/MaterialPulseView/Assets.xcassets/Co
ntentAppIcon
.imageset/Contents.json
→
Examples/Storyboards/MaterialPulseView/MaterialPulseView/Assets.xcassets/Co
smicMindInverted
.imageset/Contents.json
View file @
1314e6ff
...
...
@@ -2,7 +2,7 @@
"images"
:
[
{
"idiom"
:
"universal"
,
"filename"
:
"Co
ntentAppIcon
.png"
,
"filename"
:
"Co
smicMindInverted
.png"
,
"scale"
:
"1x"
},
{
...
...
Examples/Storyboards/MaterialPulseView/MaterialPulseView/Assets.xcassets/CosmicMindInverted.imageset/CosmicMindInverted.png
0 → 100644
View file @
1314e6ff
14.3 KB
Examples/Storyboards/MaterialPulseView/MaterialPulseView/Base.lproj/Main.storyboard
View file @
1314e6ff
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"9532"
systemVersion=
"15
C50
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"9532"
systemVersion=
"15
D21
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"9530"
/>
...
...
@@ -25,7 +25,8 @@
<constraint
firstAttribute=
"height"
constant=
"200"
id=
"HWq-yF-e3p"
/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"image"
keyPath=
"image"
value=
"ContentAppIcon"
/>
<userDefinedRuntimeAttribute
type=
"image"
keyPath=
"image"
value=
"CosmicMindInverted"
/>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"pulseFocus"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</view>
</subviews>
...
...
@@ -45,6 +46,6 @@
</scene>
</scenes>
<resources>
<image
name=
"Co
ntentAppIcon"
width=
"1024"
height=
"1024
"
/>
<image
name=
"Co
smicMindInverted"
width=
"250"
height=
"250
"
/>
</resources>
</document>
Examples/Storyboards/TextField/TextField/Base.lproj/Main.storyboard
View file @
1314e6ff
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"9532"
systemVersion=
"15
C50
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"9532"
systemVersion=
"15
D21
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"9530"
/>
...
...
Material.xcodeproj/project.pbxproj
View file @
1314e6ff
...
...
@@ -91,7 +91,7 @@
96CC08A01C80CB180034FF84
/* MaterialSpacing.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96CC089F1C80CB180034FF84
/* MaterialSpacing.swift */
;
};
96D88C1E1C1328D800B91418
/* CaptureView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF51C1328D800B91418
/* CaptureView.swift */
;
};
96D88C1F1C1328D800B91418
/* CardView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF61C1328D800B91418
/* CardView.swift */
;
};
96D88C201C1328D800B91418
/* CapturePreview
View.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF71C1328D800B91418
/* CapturePreviewV
iew.swift */
;
};
96D88C201C1328D800B91418
/* CapturePreview
.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF71C1328D800B91418
/* CapturePrev
iew.swift */
;
};
96D88C211C1328D800B91418
/* CaptureSession.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF81C1328D800B91418
/* CaptureSession.swift */
;
};
96D88C221C1328D800B91418
/* FabButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF91C1328D800B91418
/* FabButton.swift */
;
};
96D88C231C1328D800B91418
/* FlatButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BFA1C1328D800B91418
/* FlatButton.swift */
;
};
...
...
@@ -123,7 +123,7 @@
96D88C431C1328D800B91418
/* Roboto-Regular.ttf in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C1A1C1328D800B91418
/* Roboto-Regular.ttf */
;
};
96D88C441C1328D800B91418
/* Roboto-Thin.ttf in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C1B1C1328D800B91418
/* Roboto-Thin.ttf */
;
};
96D88C451C1328D800B91418
/* RobotoFont.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C1C1C1328D800B91418
/* RobotoFont.swift */
;
};
96D88C461C1328D800B91418
/* SideNavigation
ViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C1D1C1328D800B91418
/* SideNavigationView
Controller.swift */
;
};
96D88C461C1328D800B91418
/* SideNavigation
Controller.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C1D1C1328D800B91418
/* SideNavigation
Controller.swift */
;
};
96D88C551C132ABF00B91418
/* MaterialKeyframeAnimation.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C081C1328D800B91418
/* MaterialKeyframeAnimation.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C571C132ABF00B91418
/* CardView.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF61C1328D800B91418
/* CardView.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C581C132ABF00B91418
/* ImageCardView.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BFB1C1328D800B91418
/* ImageCardView.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
...
...
@@ -134,11 +134,11 @@
96D88C5F1C132ABF00B91418
/* MaterialGravity.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C061C1328D800B91418
/* MaterialGravity.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C601C132ABF00B91418
/* MaterialEdgeInset.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C071C1328D800B91418
/* MaterialEdgeInset.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C611C132ABF00B91418
/* CaptureView.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF51C1328D800B91418
/* CaptureView.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C621C132ABF00B91418
/* CapturePreview
View.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF71C1328D800B91418
/* CapturePreviewV
iew.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C621C132ABF00B91418
/* CapturePreview
.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF71C1328D800B91418
/* CapturePrev
iew.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C631C132ABF00B91418
/* CaptureSession.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88BF81C1328D800B91418
/* CaptureSession.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C641C132ABF00B91418
/* MaterialFont.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C051C1328D800B91418
/* MaterialFont.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C651C132ABF00B91418
/* RobotoFont.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C1C1C1328D800B91418
/* RobotoFont.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C661C132ACB00B91418
/* SideNavigation
ViewController.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C1D1C1328D800B91418
/* SideNavigationView
Controller.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C661C132ACB00B91418
/* SideNavigation
Controller.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C1D1C1328D800B91418
/* SideNavigation
Controller.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C671C132ACB00B91418
/* MaterialPulseView.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C0D1C1328D800B91418
/* MaterialPulseView.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C681C132ACB00B91418
/* MaterialView.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C141C1328D800B91418
/* MaterialView.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
96D88C691C132ACB00B91418
/* MaterialLayout.swift in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
96D88C0C1C1328D800B91418
/* MaterialLayout.swift */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
...
...
@@ -214,7 +214,7 @@
96CC089F1C80CB180034FF84
/* MaterialSpacing.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MaterialSpacing.swift
;
sourceTree
=
"<group>"
;
};
96D88BF51C1328D800B91418
/* CaptureView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CaptureView.swift
;
sourceTree
=
"<group>"
;
};
96D88BF61C1328D800B91418
/* CardView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CardView.swift
;
sourceTree
=
"<group>"
;
};
96D88BF71C1328D800B91418
/* CapturePreview
View.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CapturePreviewV
iew.swift
;
sourceTree
=
"<group>"
;
};
96D88BF71C1328D800B91418
/* CapturePreview
.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CapturePrev
iew.swift
;
sourceTree
=
"<group>"
;
};
96D88BF81C1328D800B91418
/* CaptureSession.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CaptureSession.swift
;
sourceTree
=
"<group>"
;
};
96D88BF91C1328D800B91418
/* FabButton.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
FabButton.swift
;
sourceTree
=
"<group>"
;
};
96D88BFA1C1328D800B91418
/* FlatButton.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
FlatButton.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -248,7 +248,7 @@
96D88C1A1C1328D800B91418
/* Roboto-Regular.ttf */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file
;
path
=
"Roboto-Regular.ttf"
;
sourceTree
=
"<group>"
;
};
96D88C1B1C1328D800B91418
/* Roboto-Thin.ttf */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file
;
path
=
"Roboto-Thin.ttf"
;
sourceTree
=
"<group>"
;
};
96D88C1C1C1328D800B91418
/* RobotoFont.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
RobotoFont.swift
;
sourceTree
=
"<group>"
;
};
96D88C1D1C1328D800B91418
/* SideNavigation
ViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
SideNavigationView
Controller.swift
;
sourceTree
=
"<group>"
;
};
96D88C1D1C1328D800B91418
/* SideNavigation
Controller.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
SideNavigation
Controller.swift
;
sourceTree
=
"<group>"
;
};
96DBA7351C61198400844821
/* Material+UIImage+Color.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
"Material+UIImage+Color.swift"
;
sourceTree
=
"<group>"
;
};
/* End PBXFileReference section */
...
...
@@ -293,7 +293,7 @@
9626C2DC1C794FE5007CA8E0
/* SideNavigation */
=
{
isa
=
PBXGroup
;
children
=
(
96D88C1D1C1328D800B91418
/* SideNavigation
View
Controller.swift */
,
96D88C1D1C1328D800B91418
/* SideNavigationController.swift */
,
);
name
=
SideNavigation
;
sourceTree
=
"<group>"
;
...
...
@@ -341,13 +341,6 @@
name
=
Grid
;
sourceTree
=
"<group>"
;
};
9666D3961C99297000F50E0E
/* Assets */
=
{
isa
=
PBXGroup
;
children
=
(
);
name
=
Assets
;
sourceTree
=
"<group>"
;
};
966F57B61C226D65009185B7
/* Text */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -409,7 +402,6 @@
96D88BF41C1328D800B91418
/* Sources */
=
{
isa
=
PBXGroup
;
children
=
(
9666D3961C99297000F50E0E
/* Assets */
,
96D88BFD1C1328D800B91418
/* LICENSE */
,
96D88BFC1C1328D800B91418
/* Info.plist */
,
96D88C091C1328D800B91418
/* Material.h */
,
...
...
@@ -469,7 +461,7 @@
isa
=
PBXGroup
;
children
=
(
96D88BF51C1328D800B91418
/* CaptureView.swift */
,
96D88BF71C1328D800B91418
/* CapturePreview
View
.swift */
,
96D88BF71C1328D800B91418
/* CapturePreview.swift */
,
96D88BF81C1328D800B91418
/* CaptureSession.swift */
,
);
name
=
Capture
;
...
...
@@ -607,7 +599,7 @@
isa
=
PBXHeadersBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
96D88C661C132ACB00B91418
/* SideNavigation
View
Controller.swift in Headers */
,
96D88C661C132ACB00B91418
/* SideNavigationController.swift in Headers */
,
96D88C671C132ACB00B91418
/* MaterialPulseView.swift in Headers */
,
96D88C681C132ACB00B91418
/* MaterialView.swift in Headers */
,
96D88C691C132ACB00B91418
/* MaterialLayout.swift in Headers */
,
...
...
@@ -632,7 +624,7 @@
96D88C5F1C132ABF00B91418
/* MaterialGravity.swift in Headers */
,
96D88C601C132ABF00B91418
/* MaterialEdgeInset.swift in Headers */
,
96D88C611C132ABF00B91418
/* CaptureView.swift in Headers */
,
96D88C621C132ABF00B91418
/* CapturePreview
View
.swift in Headers */
,
96D88C621C132ABF00B91418
/* CapturePreview.swift in Headers */
,
96D88C631C132ABF00B91418
/* CaptureSession.swift in Headers */
,
96D88C641C132ABF00B91418
/* MaterialFont.swift in Headers */
,
96D88C651C132ABF00B91418
/* RobotoFont.swift in Headers */
,
...
...
@@ -807,7 +799,7 @@
966F57B81C226D75009185B7
/* TextField.swift in Sources */
,
96DBA7361C61198400844821
/* Material+UIImage+Color.swift in Sources */
,
96CC08931C7FEC170034FF84
/* MaterialCollectionViewCell.swift in Sources */
,
96D88C201C1328D800B91418
/* CapturePreview
View
.swift in Sources */
,
96D88C201C1328D800B91418
/* CapturePreview.swift in Sources */
,
96CC08921C7FEC170034FF84
/* MaterialCollectionView.swift in Sources */
,
967887871C9775900037F6C9
/* NavigationItem.swift in Sources */
,
96A71EC71C6FFF0500C0C4AE
/* MaterialSwitch.swift in Sources */
,
...
...
@@ -845,7 +837,7 @@
960B23471C38480E00E96216
/* TextStorage.swift in Sources */
,
965626421C874FAE004ADEF7
/* MaterialDevice.swift in Sources */
,
96D88C341C1328D800B91418
/* MaterialLayer.swift in Sources */
,
96D88C461C1328D800B91418
/* SideNavigation
View
Controller.swift in Sources */
,
96D88C461C1328D800B91418
/* SideNavigationController.swift in Sources */
,
96D88C381C1328D800B91418
/* MaterialShape.swift in Sources */
,
960B23331C383EAA00E96216
/* Material+UIImage+Size.swift in Sources */
,
9626C2DE1C795017007CA8E0
/* MenuViewController.swift in Sources */
,
...
...
Sources/CapturePreview
View
.swift
→
Sources/CapturePreview.swift
View file @
1314e6ff
...
...
@@ -31,7 +31,7 @@
import
UIKit
import
AVFoundation
public
class
CapturePreview
View
:
MaterialView
{
public
class
CapturePreview
:
MaterialView
{
/**
:name: layerClass
*/
...
...
Sources/CaptureView.swift
View file @
1314e6ff
...
...
@@ -203,7 +203,7 @@ public class CaptureView : MaterialView, UIGestureRecognizerDelegate {
/**
:name: previewView
*/
public
private(set)
lazy
var
previewView
:
CapturePreview
View
=
CapturePreviewV
iew
()
public
private(set)
lazy
var
previewView
:
CapturePreview
=
CapturePrev
iew
()
/**
:name: capture
...
...
Sources/ImageCardView.swift
View file @
1314e6ff
...
...
@@ -127,7 +127,7 @@ public class ImageCardView : MaterialPulseView {
/**
:name: contentsRect
*/
public
override
var
contentsRect
:
CGRect
{
@IBInspectable
public
override
var
contentsRect
:
CGRect
{
didSet
{
prepareImageLayer
()
imageLayer
?
.
contentsRect
=
contentsRect
...
...
@@ -137,7 +137,7 @@ public class ImageCardView : MaterialPulseView {
/**
:name: contentsCenter
*/
public
override
var
contentsCenter
:
CGRect
{
@IBInspectable
public
override
var
contentsCenter
:
CGRect
{
didSet
{
prepareImageLayer
()
imageLayer
?
.
contentsCenter
=
contentsCenter
...
...
Sources/MaterialButton.swift
View file @
1314e6ff
...
...
@@ -147,7 +147,7 @@ public class MaterialButton : UIButton {
}
/// A property that accesses the backing layer's shadowOffset.
public
var
shadowOffset
:
CGSize
{
@IBInspectable
public
var
shadowOffset
:
CGSize
{
get
{
return
layer
.
shadowOffset
}
...
...
@@ -177,7 +177,7 @@ public class MaterialButton : UIButton {
}
/// A property that accesses the backing layer's shadowPath.
public
var
shadowPath
:
CGPath
?
{
@IBInspectable
public
var
shadowPath
:
CGPath
?
{
get
{
return
layer
.
shadowPath
}
...
...
Sources/MaterialCollectionViewCell.swift
View file @
1314e6ff
...
...
@@ -78,7 +78,7 @@ public class MaterialCollectionViewCell : UICollectionViewCell {
much greater flexibility than the contentsGravity property in
terms of how the image is cropped and stretched.
*/
public
var
contentsRect
:
CGRect
{
@IBInspectable
public
var
contentsRect
:
CGRect
{
get
{
return
visualLayer
.
contentsRect
}
...
...
@@ -91,7 +91,7 @@ public class MaterialCollectionViewCell : UICollectionViewCell {
A CGRect that defines a stretchable region inside the visualLayer
with a fixed border around the edge.
*/
public
var
contentsCenter
:
CGRect
{
@IBInspectable
public
var
contentsCenter
:
CGRect
{
get
{
return
visualLayer
.
contentsCenter
}
...
...
@@ -254,7 +254,7 @@ public class MaterialCollectionViewCell : UICollectionViewCell {
}
/// A property that accesses the backing layer's shadowOffset.
public
var
shadowOffset
:
CGSize
{
@IBInspectable
public
var
shadowOffset
:
CGSize
{
get
{
return
layer
.
shadowOffset
}
...
...
@@ -284,7 +284,7 @@ public class MaterialCollectionViewCell : UICollectionViewCell {
}
/// A property that accesses the backing layer's shadowPath.
public
var
shadowPath
:
CGPath
?
{
@IBInspectable
public
var
shadowPath
:
CGPath
?
{
get
{
return
layer
.
shadowPath
}
...
...
@@ -392,7 +392,7 @@ public class MaterialCollectionViewCell : UICollectionViewCell {
}
/// A property that accesses the layer.position property.
public
var
position
:
CGPoint
{
@IBInspectable
public
var
position
:
CGPoint
{
get
{
return
layer
.
position
}
...
...
Sources/MaterialTableViewCell.swift
View file @
1314e6ff
...
...
@@ -140,7 +140,7 @@ public class MaterialTableViewCell : UITableViewCell {
}
/// A property that accesses the backing layer's shadowOffset.
public
var
shadowOffset
:
CGSize
{
@IBInspectable
public
var
shadowOffset
:
CGSize
{
get
{
return
layer
.
shadowOffset
}
...
...
@@ -170,7 +170,7 @@ public class MaterialTableViewCell : UITableViewCell {
}
/// A property that accesses the backing layer's shadowPath.
public
var
shadowPath
:
CGPath
?
{
@IBInspectable
public
var
shadowPath
:
CGPath
?
{
get
{
return
layer
.
shadowPath
}
...
...
@@ -257,7 +257,7 @@ public class MaterialTableViewCell : UITableViewCell {
}
/// A property that accesses the layer.position property.
public
var
position
:
CGPoint
{
@IBInspectable
public
var
position
:
CGPoint
{
get
{
return
layer
.
position
}
...
...
Sources/MaterialView.swift
View file @
1314e6ff
...
...
@@ -63,7 +63,7 @@ public class MaterialView : UIView {
much greater flexibility than the contentsGravity property in
terms of how the image is cropped and stretched.
*/
public
var
contentsRect
:
CGRect
{
@IBInspectable
public
var
contentsRect
:
CGRect
{
get
{
return
visualLayer
.
contentsRect
}
...
...
@@ -76,7 +76,7 @@ public class MaterialView : UIView {
A CGRect that defines a stretchable region inside the visualLayer
with a fixed border around the edge.
*/
public
var
contentsCenter
:
CGRect
{
@IBInspectable
public
var
contentsCenter
:
CGRect
{
get
{
return
visualLayer
.
contentsCenter
}
...
...
@@ -202,7 +202,7 @@ public class MaterialView : UIView {
}
/// A property that accesses the backing layer's shadowOffset.
public
var
shadowOffset
:
CGSize
{
@IBInspectable
public
var
shadowOffset
:
CGSize
{
get
{
return
layer
.
shadowOffset
}
...
...
@@ -232,7 +232,7 @@ public class MaterialView : UIView {
}
/// A property that accesses the backing layer's shadowPath.
public
var
shadowPath
:
CGPath
?
{
@IBInspectable
public
var
shadowPath
:
CGPath
?
{
get
{
return
layer
.
shadowPath
}
...
...
Sources/SideNavigation
View
Controller.swift
→
Sources/SideNavigationController.swift
View file @
1314e6ff
...
...
@@ -253,7 +253,7 @@ public class SideNavigationController : UIViewController, UIGestureRecognizerDel
guard
nil
!=
rightView
else
{
return
false
}
return
rightView
!.
x
!=
view
.
bounds
.
width
return
rightView
!.
x
!=
MaterialDevice
.
width
}
/**
...
...
Sources/TextField.swift
View file @
1314e6ff
...
...
@@ -118,7 +118,7 @@ public class TextField : UITextField {
}
/// A property that accesses the backing layer's shadowOffset.
public
var
shadowOffset
:
CGSize
{
@IBInspectable
public
var
shadowOffset
:
CGSize
{
get
{
return
layer
.
shadowOffset
}
...
...
@@ -148,7 +148,7 @@ public class TextField : UITextField {
}
/// A property that accesses the backing layer's shadowPath.
public
var
shadowPath
:
CGPath
?
{
@IBInspectable
public
var
shadowPath
:
CGPath
?
{
get
{
return
layer
.
shadowPath
}
...
...
Sources/TextView.swift
View file @
1314e6ff
...
...
@@ -120,7 +120,7 @@ public class TextView: UITextView {
}
/// A property that accesses the backing layer's shadowOffset.
public
var
shadowOffset
:
CGSize
{
@IBInspectable
public
var
shadowOffset
:
CGSize
{
get
{
return
layer
.
shadowOffset
}
...
...
@@ -150,7 +150,7 @@ public class TextView: UITextView {
}
/// A property that accesses the backing layer's shadowPath.
public
var
shadowPath
:
CGPath
?
{
@IBInspectable
public
var
shadowPath
:
CGPath
?
{
get
{
return
layer
.
shadowPath
}
...
...
@@ -258,7 +258,7 @@ public class TextView: UITextView {
}
/// A property that accesses the layer.position property.
public
var
position
:
CGPoint
{
@IBInspectable
public
var
position
:
CGPoint
{
get
{
return
layer
.
position
}
...
...
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