Update comment
This commit is contained in:
parent
fde92925fc
commit
ac6d663703
|
@ -13,7 +13,6 @@ internal let defaultTrimFields = false
|
||||||
internal let defaultDelimiter = UnicodeScalar(UInt8(0x2c)) // ","
|
internal let defaultDelimiter = UnicodeScalar(UInt8(0x2c)) // ","
|
||||||
internal let defaultWhitespaces = CharacterSet.whitespaces
|
internal let defaultWhitespaces = CharacterSet.whitespaces
|
||||||
|
|
||||||
// TODO: Documentation
|
|
||||||
/// No overview available.
|
/// No overview available.
|
||||||
public struct CSVConfiguration {
|
public struct CSVConfiguration {
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ extension CSV: IteratorProtocol {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Documentation
|
|
||||||
/// No overview available.
|
/// No overview available.
|
||||||
public struct CSV {
|
public struct CSV {
|
||||||
|
|
||||||
|
@ -153,7 +152,7 @@ public struct CSV {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Unavailable.
|
/// Unavailable.
|
||||||
@available(*, unavailable, message: "Use init(stream:codecType:config:) instead")
|
@available(*, unavailable, message: "Use init(stream:codecType:endian:config:) instead")
|
||||||
public init<T: UnicodeCodec>(
|
public init<T: UnicodeCodec>(
|
||||||
stream: InputStream,
|
stream: InputStream,
|
||||||
codecType: T.Type,
|
codecType: T.Type,
|
||||||
|
@ -177,7 +176,7 @@ public struct CSV {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Unavailable.
|
/// Unavailable.
|
||||||
@available(*, unavailable, message: "Use init(stream:codecType:config:) instead")
|
@available(*, unavailable, message: "Use init(stream:codecType:endian:config:) instead")
|
||||||
public init<T: UnicodeCodec>(
|
public init<T: UnicodeCodec>(
|
||||||
stream: InputStream,
|
stream: InputStream,
|
||||||
codecType: T.Type,
|
codecType: T.Type,
|
||||||
|
@ -205,7 +204,6 @@ public struct CSV {
|
||||||
/// - parameter stream: An `InputStream` object. If the stream is not open,
|
/// - parameter stream: An `InputStream` object. If the stream is not open,
|
||||||
/// initializer opens automatically.
|
/// initializer opens automatically.
|
||||||
/// - parameter codecType: A `UnicodeCodec` type for `stream`.
|
/// - parameter codecType: A `UnicodeCodec` type for `stream`.
|
||||||
/// - parameter endian: Endian to use when reading a stream. Default: `.big`.
|
|
||||||
/// - parameter config: CSV configuration.
|
/// - parameter config: CSV configuration.
|
||||||
public init<T: UnicodeCodec>(
|
public init<T: UnicodeCodec>(
|
||||||
stream: InputStream,
|
stream: InputStream,
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
// Copyright © 2016 yaslab. All rights reserved.
|
// Copyright © 2016 yaslab. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
// TODO: Documentation
|
|
||||||
/// No overview available.
|
/// No overview available.
|
||||||
public enum CSVError: Error {
|
public enum CSVError: Error {
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
// Copyright © 2016 yaslab. All rights reserved.
|
// Copyright © 2016 yaslab. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
// TODO: Documentation
|
|
||||||
/// No overview available.
|
/// No overview available.
|
||||||
public enum Endian {
|
public enum Endian {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue