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
5462110c
Unverified
Commit
5462110c
authored
Nov 24, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: updated accessibility for fileprivate(set) access types
parent
b1e47781
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
22 additions
and
31 deletions
+22
-31
Sources/iOS/Bar.swift
+1
-1
Sources/iOS/Button.swift
+1
-1
Sources/iOS/Capture/Capture.swift
+2
-3
Sources/iOS/Capture/CaptureController.swift
+1
-1
Sources/iOS/Card.swift
+1
-1
Sources/iOS/CollectionReusableView.swift
+1
-1
Sources/iOS/CollectionViewCell.swift
+1
-1
Sources/iOS/EditorController.swift
+1
-1
Sources/iOS/MenuController.swift
+1
-1
Sources/iOS/MenuItem.swift
+2
-2
Sources/iOS/PageTabBarController.swift
+1
-1
Sources/iOS/Photos/PhotoLibraryController.swift
+1
-1
Sources/iOS/SearchBar.swift
+1
-1
Sources/iOS/SearchBarController.swift
+1
-1
Sources/iOS/SnackbarController.swift
+1
-1
Sources/iOS/StatusBarController.swift
+1
-1
Sources/iOS/TableViewCell.swift
+1
-1
Sources/iOS/TextField.swift
+2
-2
Sources/iOS/TextStorage.swift
+1
-9
No files found.
Sources/iOS/Bar.swift
View file @
5462110c
...
@@ -102,7 +102,7 @@ open class Bar: View {
...
@@ -102,7 +102,7 @@ open class Bar: View {
}
}
/// ContentView that holds the any desired subviews.
/// ContentView that holds the any desired subviews.
open
fileprivate
(
set
)
lazy
var
contentView
=
UIView
()
open
let
contentView
=
UIView
()
/// Left side UIViews.
/// Left side UIViews.
open
var
leftViews
:
[
UIView
]
{
open
var
leftViews
:
[
UIView
]
{
...
...
Sources/iOS/Button.swift
View file @
5462110c
...
@@ -37,7 +37,7 @@ open class Button: UIButton, Pulseable {
...
@@ -37,7 +37,7 @@ open class Button: UIButton, Pulseable {
allows the dropshadow effect on the backing layer, while clipping
allows the dropshadow effect on the backing layer, while clipping
the image to a desired shape within the visualLayer.
the image to a desired shape within the visualLayer.
*/
*/
open
fileprivate
(
set
)
var
visualLayer
=
CAShapeLayer
()
open
let
visualLayer
=
CAShapeLayer
()
/// A Pulse reference.
/// A Pulse reference.
open
fileprivate
(
set
)
var
pulse
:
Pulse
!
open
fileprivate
(
set
)
var
pulse
:
Pulse
!
...
...
Sources/iOS/Capture/Capture.swift
View file @
5462110c
...
@@ -284,7 +284,7 @@ open class Capture: View {
...
@@ -284,7 +284,7 @@ open class Capture: View {
open
weak
var
delegate
:
CaptureDelegate
?
open
weak
var
delegate
:
CaptureDelegate
?
/// A reference to the CapturePreview view.
/// A reference to the CapturePreview view.
open
fileprivate
(
set
)
var
preview
:
CapturePreview
!
open
let
preview
=
CapturePreview
()
/// A Timer reference for when recording is enabled.
/// A Timer reference for when recording is enabled.
open
fileprivate
(
set
)
var
timer
:
Timer
?
open
fileprivate
(
set
)
var
timer
:
Timer
?
...
@@ -653,8 +653,7 @@ extension Capture {
...
@@ -653,8 +653,7 @@ extension Capture {
extension
Capture
{
extension
Capture
{
/// Prepares the preview.
/// Prepares the preview.
fileprivate
func
preparePreview
()
{
fileprivate
func
preparePreview
()
{
preview
=
CapturePreview
()
layout
(
preview
)
.
edges
()
layout
(
preview
)
.
edges
()
(
preview
.
layer
as!
AVCaptureVideoPreviewLayer
)
.
session
=
session
(
preview
.
layer
as!
AVCaptureVideoPreviewLayer
)
.
session
=
session
startSession
()
startSession
()
...
...
Sources/iOS/Capture/CaptureController.swift
View file @
5462110c
...
@@ -52,7 +52,7 @@ extension UIViewController {
...
@@ -52,7 +52,7 @@ extension UIViewController {
open
class
CaptureController
:
ToolbarController
{
open
class
CaptureController
:
ToolbarController
{
/// A reference to the Capture instance.
/// A reference to the Capture instance.
@IBInspectable
@IBInspectable
open
fileprivate
(
set
)
var
capture
=
Capture
()
open
let
capture
=
Capture
()
open
override
var
supportedInterfaceOrientations
:
UIInterfaceOrientationMask
{
open
override
var
supportedInterfaceOrientations
:
UIInterfaceOrientationMask
{
return
UIInterfaceOrientationMask
.
portrait
return
UIInterfaceOrientationMask
.
portrait
...
...
Sources/iOS/Card.swift
View file @
5462110c
...
@@ -37,7 +37,7 @@ open class Card: PulseView {
...
@@ -37,7 +37,7 @@ open class Card: PulseView {
}
}
/// A container view for subviews.
/// A container view for subviews.
open
fileprivate
(
set
)
var
container
=
UIView
()
open
let
container
=
UIView
()
@IBInspectable
@IBInspectable
open
override
var
cornerRadiusPreset
:
CornerRadiusPreset
{
open
override
var
cornerRadiusPreset
:
CornerRadiusPreset
{
...
...
Sources/iOS/CollectionReusableView.swift
View file @
5462110c
...
@@ -38,7 +38,7 @@ open class CollectionReusableView: UICollectionReusableView, Pulseable {
...
@@ -38,7 +38,7 @@ open class CollectionReusableView: UICollectionReusableView, Pulseable {
allows the dropshadow effect on the backing layer, while clipping
allows the dropshadow effect on the backing layer, while clipping
the image to a desired shape within the visualLayer.
the image to a desired shape within the visualLayer.
*/
*/
open
fileprivate
(
set
)
var
visualLayer
=
CAShapeLayer
()
open
let
visualLayer
=
CAShapeLayer
()
/// A Pulse reference.
/// A Pulse reference.
open
fileprivate
(
set
)
var
pulse
:
Pulse
!
open
fileprivate
(
set
)
var
pulse
:
Pulse
!
...
...
Sources/iOS/CollectionViewCell.swift
View file @
5462110c
...
@@ -38,7 +38,7 @@ open class CollectionViewCell: UICollectionViewCell, Pulseable {
...
@@ -38,7 +38,7 @@ open class CollectionViewCell: UICollectionViewCell, Pulseable {
allows the dropshadow effect on the backing layer, while clipping
allows the dropshadow effect on the backing layer, while clipping
the image to a desired shape within the visualLayer.
the image to a desired shape within the visualLayer.
*/
*/
open
fileprivate
(
set
)
var
visualLayer
=
CAShapeLayer
()
open
let
visualLayer
=
CAShapeLayer
()
/// A Pulse reference.
/// A Pulse reference.
open
fileprivate
(
set
)
var
pulse
:
Pulse
!
open
fileprivate
(
set
)
var
pulse
:
Pulse
!
...
...
Sources/iOS/EditorController.swift
View file @
5462110c
...
@@ -52,7 +52,7 @@ extension UIViewController {
...
@@ -52,7 +52,7 @@ extension UIViewController {
open
class
EditorController
:
ToolbarController
{
open
class
EditorController
:
ToolbarController
{
/// A reference to the Editor instance.
/// A reference to the Editor instance.
@IBInspectable
@IBInspectable
open
fileprivate
(
set
)
var
editor
=
Editor
()
open
let
editor
=
Editor
()
/**
/**
Prepares the view instance when intialized. When subclassing,
Prepares the view instance when intialized. When subclassing,
...
...
Sources/iOS/MenuController.swift
View file @
5462110c
...
@@ -50,7 +50,7 @@ extension UIViewController {
...
@@ -50,7 +50,7 @@ extension UIViewController {
open
class
MenuController
:
RootController
{
open
class
MenuController
:
RootController
{
/// Reference to the MenuView.
/// Reference to the MenuView.
open
fileprivate
(
set
)
var
menu
=
Menu
()
open
let
menu
=
Menu
()
/**
/**
Opens the menu with a callback.
Opens the menu with a callback.
...
...
Sources/iOS/MenuItem.swift
View file @
5462110c
...
@@ -32,10 +32,10 @@ import UIKit
...
@@ -32,10 +32,10 @@ import UIKit
open
class
MenuItem
:
View
{
open
class
MenuItem
:
View
{
/// A reference to the titleLabel.
/// A reference to the titleLabel.
open
fileprivate
(
set
)
var
titleLabel
=
UILabel
()
open
let
titleLabel
=
UILabel
()
/// A reference to the button.
/// A reference to the button.
open
fileprivate
(
set
)
var
button
=
FabButton
()
open
let
button
=
FabButton
()
/**
/**
Prepares the view instance when intialized. When subclassing,
Prepares the view instance when intialized. When subclassing,
...
...
Sources/iOS/PageTabBarController.swift
View file @
5462110c
...
@@ -101,7 +101,7 @@ public protocol PageTabBarControllerDelegate {
...
@@ -101,7 +101,7 @@ public protocol PageTabBarControllerDelegate {
@objc(PageTabBarController)
@objc(PageTabBarController)
open
class
PageTabBarController
:
RootController
{
open
class
PageTabBarController
:
RootController
{
/// Reference to the PageTabBar.
/// Reference to the PageTabBar.
open
fileprivate
(
set
)
var
pageTabBar
=
PageTabBar
()
open
let
pageTabBar
=
PageTabBar
()
/// A boolean that indicates whether bounce is enabled.
/// A boolean that indicates whether bounce is enabled.
open
var
isBounceEnabled
:
Bool
{
open
var
isBounceEnabled
:
Bool
{
...
...
Sources/iOS/Photos/PhotoLibraryController.swift
View file @
5462110c
...
@@ -50,7 +50,7 @@ extension UIViewController {
...
@@ -50,7 +50,7 @@ extension UIViewController {
open
class
PhotoLibraryController
:
UIViewController
{
open
class
PhotoLibraryController
:
UIViewController
{
/// A reference to a PhotoLibrary.
/// A reference to a PhotoLibrary.
open
fileprivate
(
set
)
var
photoLibrary
=
PhotoLibrary
()
open
let
photoLibrary
=
PhotoLibrary
()
open
override
func
viewDidLoad
()
{
open
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
...
...
Sources/iOS/SearchBar.swift
View file @
5462110c
...
@@ -62,7 +62,7 @@ public protocol SearchBarDelegate {
...
@@ -62,7 +62,7 @@ public protocol SearchBarDelegate {
open
class
SearchBar
:
Bar
{
open
class
SearchBar
:
Bar
{
/// The UITextField for the searchBar.
/// The UITextField for the searchBar.
open
fileprivate
(
set
)
var
textField
=
UITextField
()
open
let
textField
=
UITextField
()
/// Reference to the clearButton.
/// Reference to the clearButton.
open
fileprivate
(
set
)
var
clearButton
:
IconButton
!
open
fileprivate
(
set
)
var
clearButton
:
IconButton
!
...
...
Sources/iOS/SearchBarController.swift
View file @
5462110c
...
@@ -61,7 +61,7 @@ open class SearchBarController: StatusBarController {
...
@@ -61,7 +61,7 @@ open class SearchBarController: StatusBarController {
}
}
/// Reference to the SearchBar.
/// Reference to the SearchBar.
open
fileprivate
(
set
)
var
searchBar
=
SearchBar
()
open
let
searchBar
=
SearchBar
()
open
override
func
layoutSubviews
()
{
open
override
func
layoutSubviews
()
{
super
.
layoutSubviews
()
super
.
layoutSubviews
()
...
...
Sources/iOS/SnackbarController.swift
View file @
5462110c
...
@@ -91,7 +91,7 @@ extension UIViewController {
...
@@ -91,7 +91,7 @@ extension UIViewController {
open
class
SnackbarController
:
RootController
{
open
class
SnackbarController
:
RootController
{
/// Reference to the Snackbar.
/// Reference to the Snackbar.
open
fileprivate
(
set
)
var
snackbar
=
Snackbar
()
open
let
snackbar
=
Snackbar
()
/// A boolean indicating if the Snacbar is animating.
/// A boolean indicating if the Snacbar is animating.
open
internal(set)
var
isAnimating
=
false
open
internal(set)
var
isAnimating
=
false
...
...
Sources/iOS/StatusBarController.swift
View file @
5462110c
...
@@ -50,7 +50,7 @@ extension UIViewController {
...
@@ -50,7 +50,7 @@ extension UIViewController {
open
class
StatusBarController
:
RootController
{
open
class
StatusBarController
:
RootController
{
/// A reference to the statusBar.
/// A reference to the statusBar.
open
fileprivate
(
set
)
var
statusBar
=
UIView
()
open
let
statusBar
=
UIView
()
/// A boolean that indicates to hide the statusBar on rotation.
/// A boolean that indicates to hide the statusBar on rotation.
open
var
shouldHideStatusBarOnRotation
=
true
open
var
shouldHideStatusBarOnRotation
=
true
...
...
Sources/iOS/TableViewCell.swift
View file @
5462110c
...
@@ -37,7 +37,7 @@ open class TableViewCell: UITableViewCell, Pulseable {
...
@@ -37,7 +37,7 @@ open class TableViewCell: UITableViewCell, Pulseable {
allows the dropshadow effect on the backing layer, while clipping
allows the dropshadow effect on the backing layer, while clipping
the image to a desired shape within the visualLayer.
the image to a desired shape within the visualLayer.
*/
*/
open
fileprivate
(
set
)
var
visualLayer
=
CAShapeLayer
()
open
let
visualLayer
=
CAShapeLayer
()
/// A Pulse reference.
/// A Pulse reference.
open
fileprivate
(
set
)
var
pulse
:
Pulse
!
open
fileprivate
(
set
)
var
pulse
:
Pulse
!
...
...
Sources/iOS/TextField.swift
View file @
5462110c
...
@@ -186,7 +186,7 @@ open class TextField: UITextField {
...
@@ -186,7 +186,7 @@ open class TextField: UITextField {
/// The placeholder UILabel.
/// The placeholder UILabel.
@IBInspectable
@IBInspectable
open
fileprivate
(
set
)
var
placeholderLabel
=
UILabel
()
open
let
placeholderLabel
=
UILabel
()
/// Placeholder normal text
/// Placeholder normal text
@IBInspectable
@IBInspectable
...
@@ -210,7 +210,7 @@ open class TextField: UITextField {
...
@@ -210,7 +210,7 @@ open class TextField: UITextField {
/// The detailLabel UILabel that is displayed.
/// The detailLabel UILabel that is displayed.
@IBInspectable
@IBInspectable
open
fileprivate
(
set
)
var
detailLabel
=
UILabel
()
open
let
detailLabel
=
UILabel
()
/// The detailLabel text value.
/// The detailLabel text value.
@IBInspectable
@IBInspectable
...
...
Sources/iOS/TextStorage.swift
View file @
5462110c
...
@@ -57,7 +57,7 @@ public protocol TextStorageDelegate: NSTextStorageDelegate {
...
@@ -57,7 +57,7 @@ public protocol TextStorageDelegate: NSTextStorageDelegate {
open
class
TextStorage
:
NSTextStorage
{
open
class
TextStorage
:
NSTextStorage
{
/// A storage facility for attributed text.
/// A storage facility for attributed text.
open
fileprivate
(
set
)
var
storage
:
NSMutableAttributedString
!
open
let
storage
=
NSMutableAttributedString
()
/// The regular expression to match text fragments against.
/// The regular expression to match text fragments against.
open
var
expression
:
NSRegularExpression
?
open
var
expression
:
NSRegularExpression
?
...
@@ -70,18 +70,10 @@ open class TextStorage: NSTextStorage {
...
@@ -70,18 +70,10 @@ open class TextStorage: NSTextStorage {
/// Initializer.
/// Initializer.
public
override
init
()
{
public
override
init
()
{
super
.
init
()
super
.
init
()
prepareStorage
()
}
}
}
}
extension
TextStorage
{
extension
TextStorage
{
/// Prepare the storage.
fileprivate
func
prepareStorage
()
{
storage
=
NSMutableAttributedString
()
}
}
extension
TextStorage
{
/// A String value of the attirbutedString property.
/// A String value of the attirbutedString property.
open
override
var
string
:
String
{
open
override
var
string
:
String
{
return
storage
.
string
return
storage
.
string
...
...
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