he amount of code this breaks would be worth the consistency. And as Alex
> mentioned, it is possible through .forEach
> >
> >
> >> On Jul 28, 2017, at 10:19 AM, Kwanghoon Choi via swift-evolution <
> swift-evolution@swift.org> wrote:
> >>
> >> Hello
> &
Hello
I found someone easy mistake using for in loop statement.
Ex)
var i = 0
for i in 0..<10 { }
print(i)
And this user expected print(i) is “10”
Many experienced swift developers doesn’t misunderstand like this. But always
someone is new comers, and I think this expression make
Dear swifters.
I have an proposal for autocreation of optional variables
This idea came from below situation
I have to addtional header to NSURLSessionConfiguration like this
let config = NSURLSessionConfiguration.defaultSessionConfiguration()
I have been using defer for very happy. It’ like with keyword on python,
using easily for needs closing context like NSFileHandle.
anyway defer is very useful statement for function scope.
However, I thinking now, What if i can use more small defer.
below, that’s codes of idea.
// firstbly,
Dear community
I think NSLocalizedString is little old. Mostly knows what is this.
Sure, everyone of swift user can make operator or some kind convenient
functions. But always, native supports will be better choice.
I suggest operator or wrapper for NSLocalizedString like #selector(…)
Ex)