Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9561022

Browse files
committed
1.1.
1 parent cd9c844 commit 9561022

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<p align="center">
33
<!-- <img src="https://i.loli.net/2018/01/05/5a4f153d36a21.png" alt="SortAlgorithm"> -->
44
<br/><a href="https://cocoapods.org/pods/SortAlgorithm">
5-
<img alt="Version" src="https://img.shields.io/badge/version-1.1.0-brightgreen.svg">
5+
<img alt="Version" src="https://img.shields.io/badge/version-1.1.1-brightgreen.svg">
66
<img alt="Author" src="https://img.shields.io/badge/author-Meniny-blue.svg">
77
<img alt="Build Passing" src="https://img.shields.io/badge/build-passing-brightgreen.svg">
88
<img alt="Swift" src="https://img.shields.io/badge/swift-4.0%2B-orange.svg">

‎Sample/Podfile.lock‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- SortAlgorithm (1.1.0)
2+
- SortAlgorithm (1.1.1)
33

44
DEPENDENCIES:
55
- SortAlgorithm (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99
:path: ../
1010

1111
SPEC CHECKSUMS:
12-
SortAlgorithm: f046b4e2c467c7342bc0da5613251d6a2e94e0f6
12+
SortAlgorithm: fe2660630a6832c9ab11049db60db77676643935
1313

1414
PODFILE CHECKSUM: 879c6730e28f493fd8b0c3a05c18fd17e42c43b6
1515

‎Sample/Pods/Local Podspecs/SortAlgorithm.podspec.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Sample/Pods/Manifest.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Sample/Pods/Target Support Files/SortAlgorithm/Info.plist‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎SortAlgorithm.podspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'SortAlgorithm'
3-
s.version = "1.1.0"
3+
s.version = "1.1.1"
44
s.summary = "Swift array sort algorithm"
55
s.homepage = "https://github.com/Meniny/SortAlgorithm"
66
s.license = { :type => "MIT", :file => "LICENSE" }

‎SortAlgorithm/SortAlgorithm.swift‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public extension Array where Element: Comparable {
6767
}
6868

6969
public extension Array where Element: Comparable {
70-
70+
7171
// MARK: - 冒泡排序
7272
/// Bubble Sort
7373
///
@@ -90,7 +90,7 @@ public extension Array where Element: Comparable {
9090
}
9191
return items
9292
}
93-
93+
9494
/// Bubble Sort, automatically compared by `l < r`
9595
///
9696
/// - Returns: Sorted Array
@@ -100,7 +100,7 @@ public extension Array where Element: Comparable {
100100
})
101101
}
102102

103-
// MAKR: - 插入排序
103+
// MARK: - 插入排序
104104
/// Insertion Sort
105105
///
106106
/// - Parameter compare: Compare closure
@@ -122,7 +122,7 @@ public extension Array where Element: Comparable {
122122
}
123123
return items
124124
}
125-
125+
126126
/// Insertion Sort, automatically compared by `l < r`
127127
///
128128
/// - Returns: Sorted Array
@@ -169,7 +169,7 @@ public extension Array where Element: Comparable {
169169
return internal_merge(left: left, right: right, by: compare)
170170
}
171171
}
172-
172+
173173
/// Merge Sort, automatically compared by `l < r`
174174
///
175175
/// - Returns: Sorted Array
@@ -218,7 +218,7 @@ public extension Array where Element: Comparable {
218218
internal_quickSort(&items, left: 0, right: items.count-1, by: compare)
219219
return items
220220
}
221-
221+
222222
/// Quick Sort, automatically compared by `l < r`
223223
///
224224
/// - Returns: Sorted Array

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /