-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
73 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
target 'Ruler' do | ||
use_frameworks! | ||
pod 'OpenCV' | ||
pod 'R.swift' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
PODS: | ||
- OpenCV (3.3.1) | ||
- R.swift (4.0.0): | ||
- R.swift.Library (~> 4.0.0) | ||
- R.swift.Library (4.0.0) | ||
|
||
DEPENDENCIES: | ||
- OpenCV | ||
- R.swift | ||
|
||
SPEC REPOS: | ||
https://cdn.cocoapods.org/: | ||
- OpenCV | ||
|
||
SPEC CHECKSUMS: | ||
OpenCV: d81447860f038d60723084aa02ecc963f95c55fa | ||
R.swift: d6a5ec2f55a8441dc0ed9f1f8b37d7d11ae85c66 | ||
R.swift.Library: c3af34921024333546e23b70e70d0b4e0cffca75 | ||
|
||
PODFILE CHECKSUM: e5d35b3dab5712e772c691383deac10a3227ad20 | ||
PODFILE CHECKSUM: 2a12a6bc2c2725c25bac584d34007d40964e930b | ||
|
||
COCOAPODS: 1.4.0 | ||
COCOAPODS: 1.9.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// | ||
// Localization.swift | ||
// Ruler | ||
// | ||
// Created by TBXark on 2020/7/17. | ||
// Copyright © 2020 Tbxark. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
enum Localization: String { | ||
|
||
case arNotAvailable = "ARNotAvailable" | ||
case arInitializing = "ARInitializing" | ||
case arInsufficientFeatures = "ARInsufficientFeatures" | ||
case arExcessiveMotion = "ARExcessiveMotion" | ||
case arInitializingMessage = "ARInitializingMessage" | ||
case arInsufficientFeaturesMessage = "ARInsufficientFeaturesMessage" | ||
case arExcessiveMotionMessage = "ARExcessiveMotionMessage" | ||
case arRelocalizing = "ARRelocalizing" | ||
|
||
case saveSuccess = "SaveSuccess" | ||
case saveFail = "SaveFail" | ||
case saveNeedPermission = "SaveNeedPermission" | ||
case didCopy = "DidCopy" | ||
case setting = "Setting" | ||
case startArea = "StartArea" | ||
case startLength = "StartLength" | ||
|
||
|
||
func toString() -> String { | ||
return NSLocalizedString(self.rawValue, tableName: nil, bundle: Bundle.main, value: "", comment: "") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c7a9d60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix #4