Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"buildCommand" : {
"command" : "build",
"skipDependencies" : false,
"style" : "buildOnly"
},
"configuredTargets" : [

],
"continueBuildingAfterErrors" : false,
"dependencyScope" : "workspace",
"enableIndexBuildArena" : false,
"hideShellScriptEnvironment" : false,
"parameters" : {
"action" : "build",
"overrides" : {

}
},
"qos" : "utility",
"schemeCommand" : "launch",
"showNonLoggedProgress" : true,
"useDryRun" : false,
"useImplicitDependencies" : false,
"useLegacyBuildLocations" : false,
"useParallelTargets" : true
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"client":{"name":"basic","version":0,"file-system":"device-agnostic","perform-ownership-analysis":"no"},"targets":{"":["<all>"]},"commands":{"<all>":{"tool":"phony","inputs":["<WorkspaceHeaderMapVFSFilesWritten>"],"outputs":["<all>"]},"P0:::Gate WorkspaceHeaderMapVFSFilesWritten":{"tool":"phony","inputs":[],"outputs":["<WorkspaceHeaderMapVFSFilesWritten>"]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Target dependency graph (0 target)
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"buildCommand" : {
"command" : "build",
"skipDependencies" : false,
"style" : "buildOnly"
},
"configuredTargets" : [

],
"continueBuildingAfterErrors" : false,
"dependencyScope" : "workspace",
"enableIndexBuildArena" : false,
"hideShellScriptEnvironment" : false,
"parameters" : {
"action" : "build",
"overrides" : {

}
},
"qos" : "utility",
"schemeCommand" : "launch",
"showNonLoggedProgress" : true,
"useDryRun" : false,
"useImplicitDependencies" : false,
"useLegacyBuildLocations" : false,
"useParallelTargets" : true
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"client":{"name":"basic","version":0,"file-system":"device-agnostic","perform-ownership-analysis":"no"},"targets":{"":["<all>"]},"commands":{"<all>":{"tool":"phony","inputs":["<WorkspaceHeaderMapVFSFilesWritten>"],"outputs":["<all>"]},"P0:::Gate WorkspaceHeaderMapVFSFilesWritten":{"tool":"phony","inputs":[],"outputs":["<WorkspaceHeaderMapVFSFilesWritten>"]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Target dependency graph (0 target)
Binary file not shown.
4 changes: 2 additions & 2 deletions CLDemo-Swift/CLDemo-Swift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2887,7 +2887,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 533J5B8T42;
DEVELOPMENT_TEAM = 3D47N4555T;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
FRAMEWORK_SEARCH_PATHS = "";
INFOPLIST_FILE = "$(SRCROOT)/CLDemo-Swift/Resource/Info.plist";
Expand Down Expand Up @@ -2918,7 +2918,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 533J5B8T42;
DEVELOPMENT_TEAM = 3D47N4555T;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
FRAMEWORK_SEARCH_PATHS = "";
INFOPLIST_FILE = "$(SRCROOT)/CLDemo-Swift/Resource/Info.plist";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CLTruncationController: CLController {

private lazy var truncationLabel: CLTruncationLabel = {
let view = CLTruncationLabel()
view.numberOfLines = 3
view.numberOfLines = 5
view.contentEdgeInsets = .init(top: 10, left: 10, bottom: 10, right: 10)
view.layer.cornerRadius = 5
view.layer.borderColor = UIColor.orange.cgColor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ extension CLTruncationLabel {
let width = textLabel.bounds.width
let lines = attributedText.lines(width)
if numberOfLines > 0,
lines.count >= numberOfLines
lines.count > numberOfLines
{
let additionalAttributedText = isOpen ? truncationToken.close : truncationToken.open
let length = lines.prefix(numberOfLines).reduce(0) { $0 + CTLineGetStringRange($1).length }
Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 817a9f6635815ee132800871dcfecfd381ee2044

COCOAPODS: 1.16.2
COCOAPODS: 1.15.2
226 changes: 226 additions & 0 deletions Pods/CLCamera/Camera/Contrller/CLCameraController.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading