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