Skip to content

Commit f99b3f4

Browse files
authored
Merge pull request #90 from yaslab/legacy
Mark `CSV` as deprecated
2 parents 849e82c + eb004b3 commit f99b3f4

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

CSV.xcodeproj/project.pbxproj

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
0E959C67208B611F005F8D01 /* CSVWriter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5C208B611F005F8D01 /* CSVWriter.swift */; };
3636
0E959C68208B611F005F8D01 /* CSVWriter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5C208B611F005F8D01 /* CSVWriter.swift */; };
3737
0E959C69208B611F005F8D01 /* CSVWriter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5C208B611F005F8D01 /* CSVWriter.swift */; };
38-
0E959C6A208B611F005F8D01 /* CSV.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5D208B611F005F8D01 /* CSV.swift */; };
39-
0E959C6B208B611F005F8D01 /* CSV.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5D208B611F005F8D01 /* CSV.swift */; };
40-
0E959C6C208B611F005F8D01 /* CSV.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5D208B611F005F8D01 /* CSV.swift */; };
41-
0E959C6D208B611F005F8D01 /* CSV.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5D208B611F005F8D01 /* CSV.swift */; };
38+
0E959C6A208B611F005F8D01 /* Legacy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5D208B611F005F8D01 /* Legacy.swift */; };
39+
0E959C6B208B611F005F8D01 /* Legacy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5D208B611F005F8D01 /* Legacy.swift */; };
40+
0E959C6C208B611F005F8D01 /* Legacy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5D208B611F005F8D01 /* Legacy.swift */; };
41+
0E959C6D208B611F005F8D01 /* Legacy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5D208B611F005F8D01 /* Legacy.swift */; };
4242
0E959C6E208B611F005F8D01 /* BinaryReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5E208B611F005F8D01 /* BinaryReader.swift */; };
4343
0E959C6F208B611F005F8D01 /* BinaryReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5E208B611F005F8D01 /* BinaryReader.swift */; };
4444
0E959C70208B611F005F8D01 /* BinaryReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E959C5E208B611F005F8D01 /* BinaryReader.swift */; };
@@ -116,7 +116,7 @@
116116
0E87607E219FF43B00C6C7FA /* CSVRowDecoder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSVRowDecoder.swift; sourceTree = "<group>"; };
117117
0E959C5B208B611F005F8D01 /* CSVError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CSVError.swift; sourceTree = "<group>"; };
118118
0E959C5C208B611F005F8D01 /* CSVWriter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CSVWriter.swift; sourceTree = "<group>"; };
119-
0E959C5D208B611F005F8D01 /* CSV.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CSV.swift; sourceTree = "<group>"; };
119+
0E959C5D208B611F005F8D01 /* Legacy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Legacy.swift; sourceTree = "<group>"; };
120120
0E959C5E208B611F005F8D01 /* BinaryReader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BinaryReader.swift; sourceTree = "<group>"; };
121121
0E959C5F208B611F005F8D01 /* UnicodeIterator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnicodeIterator.swift; sourceTree = "<group>"; };
122122
0E959C60208B611F005F8D01 /* Endian.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Endian.swift; sourceTree = "<group>"; };
@@ -232,7 +232,7 @@
232232
isa = PBXGroup;
233233
children = (
234234
0E959C5E208B611F005F8D01 /* BinaryReader.swift */,
235-
0E959C5D208B611F005F8D01 /* CSV.swift */,
235+
0E959C5D208B611F005F8D01 /* Legacy.swift */,
236236
0E959C5B208B611F005F8D01 /* CSVError.swift */,
237237
0E959C61208B611F005F8D01 /* CSVReader.swift */,
238238
0E87607E219FF43B00C6C7FA /* CSVRowDecoder.swift */,
@@ -568,7 +568,7 @@
568568
0E959C77208B611F005F8D01 /* Endian.swift in Sources */,
569569
0E959C67208B611F005F8D01 /* CSVWriter.swift in Sources */,
570570
0E959C73208B611F005F8D01 /* UnicodeIterator.swift in Sources */,
571-
0E959C6B208B611F005F8D01 /* CSV.swift in Sources */,
571+
0E959C6B208B611F005F8D01 /* Legacy.swift in Sources */,
572572
0E959C7B208B611F005F8D01 /* CSVReader.swift in Sources */,
573573
);
574574
runOnlyForDeploymentPostprocessing = 0;
@@ -599,7 +599,7 @@
599599
0E959C79208B611F005F8D01 /* Endian.swift in Sources */,
600600
0E959C69208B611F005F8D01 /* CSVWriter.swift in Sources */,
601601
0E959C75208B611F005F8D01 /* UnicodeIterator.swift in Sources */,
602-
0E959C6D208B611F005F8D01 /* CSV.swift in Sources */,
602+
0E959C6D208B611F005F8D01 /* Legacy.swift in Sources */,
603603
0E959C7D208B611F005F8D01 /* CSVReader.swift in Sources */,
604604
);
605605
runOnlyForDeploymentPostprocessing = 0;
@@ -614,7 +614,7 @@
614614
0E959C76208B611F005F8D01 /* Endian.swift in Sources */,
615615
0E959C66208B611F005F8D01 /* CSVWriter.swift in Sources */,
616616
0E959C72208B611F005F8D01 /* UnicodeIterator.swift in Sources */,
617-
0E959C6A208B611F005F8D01 /* CSV.swift in Sources */,
617+
0E959C6A208B611F005F8D01 /* Legacy.swift in Sources */,
618618
0E959C7A208B611F005F8D01 /* CSVReader.swift in Sources */,
619619
);
620620
runOnlyForDeploymentPostprocessing = 0;
@@ -645,7 +645,7 @@
645645
0E959C78208B611F005F8D01 /* Endian.swift in Sources */,
646646
0E959C68208B611F005F8D01 /* CSVWriter.swift in Sources */,
647647
0E959C74208B611F005F8D01 /* UnicodeIterator.swift in Sources */,
648-
0E959C6C208B611F005F8D01 /* CSV.swift in Sources */,
648+
0E959C6C208B611F005F8D01 /* Legacy.swift in Sources */,
649649
0E959C7C208B611F005F8D01 /* CSVReader.swift in Sources */,
650650
);
651651
runOnlyForDeploymentPostprocessing = 0;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
//
2-
// CSV.swift
2+
// Legacy.swift
33
// CSV
44
//
55
// Created by Yasuhiro Hatta on 2016/06/11.
66
// Copyright © 2016 yaslab. All rights reserved.
77
//
88

9+
@available(*, deprecated, renamed: "CSVReader")
910
public typealias CSV = CSVReader
1011

1112
extension CSV: Sequence { }

Sources/CSV/UnicodeIterator.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
internal class UnicodeIterator<
1010
Input: IteratorProtocol,
11-
InputEncoding: UnicodeCodec>
12-
: IteratorProtocol
11+
InputEncoding: UnicodeCodec>: IteratorProtocol
1312
where InputEncoding.CodeUnit == Input.Element {
1413

1514
private var input: Input

0 commit comments

Comments
 (0)