Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangyongji
/
MRFramework
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
49bde17a
authored
Mar 20, 2020
by
Sarkizz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除Demo和test字样;移除代码警告
parent
5aecf969
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
17 deletions
+15
-17
MRFramework/.swiftlint.yml
+2
-2
MRFramework/MRFramework.xcodeproj/project.pbxproj
+2
-2
MRFramework/MRFramework/FoundationManagers/HotUpdate/MRUpdateManager.swift
+1
-3
MRFramework/MRFramework/UIControls/Album/MRAlbumListViewController.swift
+1
-1
MRFramework/MRFramework/UIControls/PhotoPicker/SAPhotoPicker.swift
+1
-1
MRFramework/MRFramework/UIControls/Scanning/CommonScanningViewController.swift
+1
-1
MRFramework/MRFramework/UIControls/Scanning/Interface/MRScanningLineView.swift
+1
-1
MRFramework/MRFramework/UIControls/Scanning/Interface/MRScanningRectLineView.swift
+1
-1
MRFramework/MRFramework/UIControls/Scanning/Interface/MRScanningShadowView.swift
+1
-1
MRFramework/MRFramework/UIControls/Scanning/MRScanningProtocol.swift
+1
-1
MRFramework/MRFramework/UIControls/Scanning/ScanningAVManager.swift
+1
-1
MRFramework/MRFramework/UIControls/WebView/MRWebBridge.swift
+1
-1
MRFramework/MRFramework/UIControls/WebView/MRWebMessageHandler.swift
+1
-1
No files found.
MRFramework/.swiftlint.yml
View file @
49bde17a
...
...
@@ -25,6 +25,7 @@ identifier_name:
-
up
-
mr
-
to
-
at
-
p0
-
p1
-
p2
...
...
@@ -39,4 +40,4 @@ large_tuple: 5
# 类/结构体等 的括号里面不能有超过500行的内容
type_body_length
:
500
# 一个文件的行数限制
file_length
:
1000
\ No newline at end of file
file_length
:
1000
MRFramework/MRFramework.xcodeproj/project.pbxproj
View file @
49bde17a
...
...
@@ -691,7 +691,7 @@
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
12.2
;
IPHONEOS_DEPLOYMENT_TARGET
=
9.0
;
MTL_ENABLE_DEBUG_INFO
=
INCLUDE_SOURCE
;
MTL_FAST_MATH
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
...
...
@@ -749,7 +749,7 @@
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
12.2
;
IPHONEOS_DEPLOYMENT_TARGET
=
9.0
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
MTL_FAST_MATH
=
YES
;
SDKROOT
=
iphoneos
;
...
...
MRFramework/MRFramework/FoundationManagers/HotUpdate/MRUpdateManager.swift
View file @
49bde17a
...
...
@@ -174,8 +174,7 @@ extension MRUpdateManager {
/// 根据传入类型更新本地文件。此方法总是同步执行
/// - Parameter type: 更新类型
/// - Parameter complate: 回调
public
func
localUpdate
(
_
type
:
UpdateType
,
complate
:
((
_
manager
:
MRUpdateManager
,
_
error
:
Error
?)
->
Void
)?)
{
public
func
localUpdate
(
_
type
:
UpdateType
,
complate
:
((
_
manager
:
MRUpdateManager
,
_
error
:
Error
?)
->
Void
)?)
{
switch
type
{
case
.
appUpgrade
:
if
let
bundleWWW
=
bundleWWWURL
{
...
...
@@ -199,7 +198,6 @@ extension MRUpdateManager {
}
default
:
complate
?(
self
,
nil
)
break
}
}
...
...
MRFramework/MRFramework/UIControls/Album/MRAlbumListViewController.swift
View file @
49bde17a
...
...
@@ -232,7 +232,7 @@ open class MRAlbumListViewController: UIViewController {
vc
.
imageCache
=
imageCache
vc
.
confirm
=
{
vc
,
isSelected
in
self
.
set
(
asset
:
assest
,
selected
:
isSelected
,
completion
:
{
selected
in
self
.
set
(
asset
:
assest
,
selected
:
isSelected
,
completion
:
{
_
in
if
let
cell
=
collectionView
.
cellForItem
(
at
:
indexPath
)
{
cell
.
isSelected
=
isSelected
}
...
...
MRFramework/MRFramework/UIControls/PhotoPicker/SAPhotoPicker.swift
View file @
49bde17a
//
// SAPhotoPicker.swift
//
WebBridgeDemo
//
MRFramework
//
// Created by Sarkizz on 2019/8/1.
// Copyright © 2019 Maxrocky. All rights reserved.
...
...
MRFramework/MRFramework/UIControls/Scanning/CommonScanningViewController.swift
View file @
49bde17a
//
// CommonScanningViewController.swift
//
Test
//
MRFramework
//
// Created by Sarkizz on 2019/8/30.
// Copyright © 2019 fcbox. All rights reserved.
...
...
MRFramework/MRFramework/UIControls/Scanning/Interface/MRScanningLineView.swift
View file @
49bde17a
//
// MRScanningLineView.swift
//
Test
//
MRFramework
//
// Created by Sarkizz on 2019/8/30.
// Copyright © 2019 fcbox. All rights reserved.
...
...
MRFramework/MRFramework/UIControls/Scanning/Interface/MRScanningRectLineView.swift
View file @
49bde17a
//
// MRScanningRectLineView.swift
//
Test
//
MRFramework
//
// Created by Sarkizz on 2019/8/30.
// Copyright © 2019 fcbox. All rights reserved.
...
...
MRFramework/MRFramework/UIControls/Scanning/Interface/MRScanningShadowView.swift
View file @
49bde17a
//
// MRScanningShadowView.swift
//
Test
//
MRFramework
//
// Created by Sarkizz on 2019/8/30.
// Copyright © 2019 fcbox. All rights reserved.
...
...
MRFramework/MRFramework/UIControls/Scanning/MRScanningProtocol.swift
View file @
49bde17a
//
// MRScanningProtocol.swift
//
Test
//
MRFramework
//
// Created by Sarkizz on 2019/8/30.
// Copyright © 2019 fcbox. All rights reserved.
...
...
MRFramework/MRFramework/UIControls/Scanning/ScanningAVManager.swift
View file @
49bde17a
//
// ScanningAVManager.swift
//
Test
//
MRFramework
//
// Created by Sarkizz on 2019/8/29.
// Copyright © 2019 fcbox. All rights reserved.
...
...
MRFramework/MRFramework/UIControls/WebView/MRWebBridge.swift
View file @
49bde17a
//
// MRWebBridge.swift
//
WebBridgeDemo
//
MRFramework
//
// Created by Sarkizz on 2019/6/18.
// Copyright © 2019 Maxrocky. All rights reserved.
...
...
MRFramework/MRFramework/UIControls/WebView/MRWebMessageHandler.swift
View file @
49bde17a
//
// MRWebMessageHandler.swift
//
WebBridgeDemo
//
MRFramework
//
// Created by Sarkizz on 2019/6/21.
// Copyright © 2019 Maxrocky. All rights reserved.
...
...
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