OK, but how do you use IndexingIterator to get element and not change itself?
In C++, the iterator is more like index. because it could be used to get the
element, and not change itself, and it can be offset back and forth not only by
one.
*it
*(it+5)
*(it-5)
but in Swift
Should I use private or fileprivate to declare global variables/consts in Swift
3? e.g.
fileprivate let a = 1
fileprivate class SomeClass {
fileprivate b = 0
}
or
private let a = 1
private class SomeClass {
fileprivate b = 0
}
Thanks!
If they are identity, then I think the Swift team
Should I use private or fileprivate to declare global variables/consts in Swift
3? e.g.
fileprivate let a = 1
fileprivate class SomeClass {
fileprivate b = 0
}
or
private let a = 1
private class SomeClass {
private b = 0
}
Thanks!
If they are identity, then I think the Swift team shou
Should I use private or fileprivate to declare global variables/consts in Swift
3? e.g.
fileprivate let a = 1
fileprivate class SomeClass {
fileprivate b = 0
}
Or
private let a = 1
private class someClass {
fileprivate b = 0
}
Thanks!
I think the Swift team should tell us which is bett
Hi, All
How to package resource files (like *.jpg etc.) with Swift Package Manager?
Thanks!
Jianann
___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users